Change type of global, buff_allocated, to size_t.
authorJim Meyering <jim@meyering.net>
Sat, 20 Dec 2003 16:44:12 +0000 (16:44 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 20 Dec 2003 16:44:12 +0000 (16:44 +0000)
src/pr.c

index 8ae0011..04aa1c8 100644 (file)
--- a/src/pr.c
+++ b/src/pr.c
@@ -460,7 +460,7 @@ static int buff_current;
 
 /* The number of characters in buff.
    Used for allocation of buff and to detect overflow of buff. */
-static int buff_allocated;
+static size_t buff_allocated;
 
 /* Array of indices into buff.
    Each entry is an index of the first character of a line.