summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2013-07-26 20:11:05 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2013-07-26 20:11:05 +0100
commit475274411fb49124af9b2614ba139ed69ecc6a7a (patch)
tree1c168c1b0bb0e2959a794c91be7fb29b4cfbc5dc
parent15bb9fc33c5a9735b281a0c3eba1bbbc7739eb27 (diff)
Use %zu format for size_tlibxcwm-20130802
-rw-r--r--src/libxcwm/event_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libxcwm/event_loop.c b/src/libxcwm/event_loop.c
index 82883c8..d69fbb2 100644
--- a/src/libxcwm/event_loop.c
+++ b/src/libxcwm/event_loop.c
@@ -152,7 +152,7 @@ _xcwm_window_composite_pixmap_update(xcwm_window_t *window)
NULL, ~0, NULL);
size_t image_size = image->size;
xcb_image_destroy(image);
- printf("window 0x%08x requires %d bytes of SHM\n", window->window_id, image_size);
+ printf("window 0x%08x requires %zu bytes of SHM\n", window->window_id, image_size);
/* Allocate SHM resources */
window->shminfo.shmid = shmget(IPC_PRIVATE, image_size, IPC_CREAT | 0777);