aboutsummaryrefslogtreecommitdiff
path: root/xcursor
diff options
context:
space:
mode:
authorAntonin Décimo <antonin.decimo@gmail.com>2020-06-04 14:33:32 +0200
committerSimon Ser <contact@emersion.fr>2020-07-27 10:49:19 +0200
commitd9bb792794ce476ac79fdc0971fc01aeb3e5c8a0 (patch)
tree21ebffd12ec70da5a2fe757b3418ba523846f042 /xcursor
parent39fd2335bf47ca33e28f61ec7a194c15a9ecc61e (diff)
Fix incorrect format parameters
Diffstat (limited to 'xcursor')
-rw-r--r--xcursor/wlr_xcursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xcursor/wlr_xcursor.c b/xcursor/wlr_xcursor.c
index 4e1d02ec..85e76a55 100644
--- a/xcursor/wlr_xcursor.c
+++ b/xcursor/wlr_xcursor.c
@@ -24,7 +24,7 @@
*/
#define _POSIX_C_SOURCE 200809L
-#include <stdint.h>
+#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -245,7 +245,7 @@ struct wlr_xcursor_theme *wlr_xcursor_theme_load(const char *name, int size) {
for (size_t i = 0; i < theme->cursor_count; ++i) {
struct wlr_xcursor *c = theme->cursors[i];
struct wlr_xcursor_image *i = c->images[0];
- wlr_log(WLR_DEBUG, "%s (%u images) %dx%d+%d,%d",
+ wlr_log(WLR_DEBUG, "%s (%u images) %" PRIu32 "x%" PRIu32 "+%" PRIu32 ",%" PRIu32,
c->name, c->image_count,
i->width, i->height, i->hotspot_x, i->hotspot_y);
}