mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Fix incorrect format parameters
This commit is contained in:
parent
39fd2335bf
commit
d9bb792794
13 changed files with 45 additions and 43 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue