summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/open.c b/lib/open.c
index 9825bc63..9728972a 100644
--- a/lib/open.c
+++ b/lib/open.c
@@ -148,7 +148,7 @@ glibtop_open_l (glibtop *server, const char *program_name,
if (nbytes != size)
glibtop_error_r (server,
"Requested %u bytes but got %u.",
- size, nbytes);
+ (unsigned)size, (unsigned)nbytes);
glibtop_read_l (server, nbytes, buffer);