summaryrefslogtreecommitdiff
path: root/lib/read.c
diff options
context:
space:
mode:
authorBenoît Dejean <benoit@placenet.org>2006-04-10 08:41:46 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2006-04-10 08:41:46 +0000
commit64fe5d591bc697804ab1cd55ae18ec08ba3da934 (patch)
treed94480be305529cc67c90f7addce47beb9aa1199 /lib/read.c
parent12502c267316aa32b0ecb72229f6209e51577f43 (diff)
downloadlibgtop-64fe5d591bc697804ab1cd55ae18ec08ba3da934.tar.gz
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.
Diffstat (limited to 'lib/read.c')
-rw-r--r--lib/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/read.c b/lib/read.c
index e0efdbaf..b2920af4 100644
--- a/lib/read.c
+++ b/lib/read.c
@@ -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);
}
}