diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-05-10 15:09:36 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-05-10 15:09:36 -0700 |
commit | 1d0b64a009640e978fe2050317e406254967c7eb (patch) | |
tree | 6a17d29ea10990e3d29d30be32b7d33435291493 | |
parent | 3fbfc5e0f7024e14bb9a1b4d095d0e5a342753d4 (diff) | |
download | klibc-1d0b64a009640e978fe2050317e406254967c7eb.tar.gz |
[klibc] Make byte counters in stdio unsigned
Make the byte counters in the stdio private structure unsigned;
this ends up saving a few bytes.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | usr/klibc/stdio/stdioint.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/klibc/stdio/stdioint.h b/usr/klibc/stdio/stdioint.h index d0d87184967e0..4653f35102927 100644 --- a/usr/klibc/stdio/stdioint.h +++ b/usr/klibc/stdio/stdioint.h @@ -20,9 +20,9 @@ struct _IO_file_pvt { struct _IO_file_pvt *prev, *next; char *buf; /* Buffer */ char *data; /* Location of input data in buffer */ - int ibytes; /* Input data bytes in buffer */ - int obytes; /* Output data bytes in buffer */ - int bufsiz; /* Total size of buffer */ + unsigned int ibytes; /* Input data bytes in buffer */ + unsigned int obytes; /* Output data bytes in buffer */ + unsigned int bufsiz; /* Total size of buffer */ enum _IO_bufmode bufmode; /* Type of buffering */ }; |