diff options
author | Benoit Dejean <bdejean@gmail.com> | 2015-07-15 18:47:51 +0200 |
---|---|---|
committer | Benoit Dejean <bdejean@gmail.com> | 2015-07-15 18:47:51 +0200 |
commit | 51fd022bddc1d374c283f3c8c7515c5746483d27 (patch) | |
tree | 021ec7b69986b9fe7a6cc0463635ce20bc03d9f5 /src/daemon | |
parent | 6239438dce7ec887c99df2a8fd0248ffdd58c921 (diff) | |
download | libgtop-51fd022bddc1d374c283f3c8c7515c5746483d27.tar.gz |
Fixed sprintf format/args type mismatch.
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/version.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/daemon/version.c b/src/daemon/version.c index 8eae8cfe..ac11df3d 100644 --- a/src/daemon/version.c +++ b/src/daemon/version.c @@ -35,10 +35,10 @@ glibtop_send_version (glibtop *server, int fd) sprintf (buffer, LIBGTOP_VERSION_STRING, LIBGTOP_VERSION, LIBGTOP_SERVER_VERSION, - sizeof (glibtop_command), - sizeof (glibtop_response), - sizeof (glibtop_union), - sizeof (glibtop_sysdeps)); + (unsigned) sizeof (glibtop_command), + (unsigned) sizeof (glibtop_response), + (unsigned) sizeof (glibtop_union), + (unsigned) sizeof (glibtop_sysdeps)); size = strlen (buffer) + 1; |