projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8442061
)
(output): Declare some local variables to be of type size_t,
author
Jim Meyering
<jim@meyering.net>
Sat, 23 Nov 2002 16:28:44 +0000
(16:28 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 23 Nov 2002 16:28:44 +0000
(16:28 +0000)
rather than `int' to avoid warnings from gcc.
src/tac.c
patch
|
blob
|
history
diff --git
a/src/tac.c
b/src/tac.c
index
3b4df06
..
c7d9e25
100644
(file)
--- a/
src/tac.c
+++ b/
src/tac.c
@@
-155,9
+155,9
@@
static void
output (const char *start, const char *past_end)
{
static char buffer[WRITESIZE];
- static
in
t bytes_in_buffer = 0;
-
in
t bytes_to_add = past_end - start;
-
in
t bytes_available = WRITESIZE - bytes_in_buffer;
+ static
size_
t bytes_in_buffer = 0;
+
size_
t bytes_to_add = past_end - start;
+
size_
t bytes_available = WRITESIZE - bytes_in_buffer;
if (start == 0)
{