summaryrefslogtreecommitdiff
path: root/clients/dnd.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2012-10-26 01:15:44 +0100
committerKristian Høgsberg <krh@bitplanet.net>2012-10-29 16:28:19 -0400
commit4df7e27055aaf1fbcc8ea6c4cc29a1facfcad62a (patch)
tree64cff9f046ce1814b83896071d39983dabe6e7cf /clients/dnd.c
parentaac8693cf3f4c78a1b58d20dcba9398ee1c33f91 (diff)
dnd: Use %zd in the format string for size_t types
len i size_t, so is the result of the sizeof operator.
Diffstat (limited to 'clients/dnd.c')
-rw-r--r--clients/dnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/dnd.c b/clients/dnd.c
index 4c070ff4..4aad070c 100644
--- a/clients/dnd.c
+++ b/clients/dnd.c
@@ -517,7 +517,7 @@ dnd_receive_func(void *data, size_t len, int32_t x, int32_t y, void *user_data)
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;
}