commit | 4df7e27055aaf1fbcc8ea6c4cc29a1facfcad62a | [log] [tgz] |
---|---|---|
author | Damien Lespiau <damien.lespiau@intel.com> | Fri Oct 26 01:15:44 2012 +0100 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Oct 29 16:28:19 2012 -0400 |
tree | 64cff9f046ce1814b83896071d39983dabe6e7cf | |
parent | aac8693cf3f4c78a1b58d20dcba9398ee1c33f91 [diff] [blame] |
dnd: Use %zd in the format string for size_t types len i size_t, so is the result of the sizeof operator.
diff --git a/clients/dnd.c b/clients/dnd.c index 4c070ff..4aad070 100644 --- a/clients/dnd.c +++ b/clients/dnd.c
@@ -517,7 +517,7 @@ if (len == 0) { return; } else if (len != sizeof *message) { - fprintf(stderr, "odd message length %ld, expected %ld\n", + fprintf(stderr, "odd message length %zu, expected %zu\n", len, sizeof *message); return; }