Fixed a bunch of signedness warnings.
2006-04-10 Benoît Dejean <benoit@placenet.org> * lib/open.c: (glibtop_open_l): * lib/read.c: (glibtop_read_l): * lib/write.c: (glibtop_write_l): Fixed a bunch of signedness warnings.
This commit is contained in:
committed by
Benoît Dejean
parent
12502c2673
commit
64fe5d591b
@@ -53,7 +53,7 @@ glibtop_read_l (glibtop *server, size_t size, void *buf)
|
||||
glibtop_init_r (&server, 0, 0);
|
||||
|
||||
#ifdef DEBUG
|
||||
fprintf (stderr, "LIBRARY: really reading %d bytes.\n", size);
|
||||
fprintf (stderr, "LIBRARY: really reading %d bytes.\n", (int)size);
|
||||
#endif
|
||||
|
||||
if (server->socket) {
|
||||
@@ -64,6 +64,6 @@ glibtop_read_l (glibtop *server, size_t size, void *buf)
|
||||
server,
|
||||
ngettext ("read %d byte",
|
||||
"read %d bytes", size),
|
||||
size);
|
||||
(int)size);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user