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:
Benoît Dejean
2006-04-10 08:41:46 +00:00
committed by Benoît Dejean
parent 12502c2673
commit 64fe5d591b
4 changed files with 19 additions and 8 deletions

View File

@@ -138,10 +138,10 @@ glibtop_open_l (glibtop *server, const char *program_name,
sprintf (version, LIBGTOP_VERSION_STRING,
LIBGTOP_VERSION, LIBGTOP_SERVER_VERSION,
sizeof (glibtop_command),
sizeof (glibtop_response),
sizeof (glibtop_union),
sizeof (glibtop_sysdeps));
(guint) sizeof (glibtop_command),
(guint) sizeof (glibtop_response),
(guint) sizeof (glibtop_union),
(guint) sizeof (glibtop_sysdeps));
size = strlen (version) + 1;