diff options
Diffstat (limited to 'backend/headless/output.c')
-rw-r--r-- | backend/headless/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/headless/output.c b/backend/headless/output.c index fbec8110..f03d6ee0 100644 --- a/backend/headless/output.c +++ b/backend/headless/output.c @@ -118,12 +118,12 @@ struct wlr_output *wlr_headless_add_output(struct wlr_backend *wlr_backend, strncpy(wlr_output->model, "headless", sizeof(wlr_output->model)); char name[64]; - snprintf(name, sizeof(name), "HEADLESS-%zd", ++backend->last_output_num); + snprintf(name, sizeof(name), "HEADLESS-%zu", ++backend->last_output_num); wlr_output_set_name(wlr_output, name); char description[128]; snprintf(description, sizeof(description), - "Headless output %zd", backend->last_output_num); + "Headless output %zu", backend->last_output_num); wlr_output_set_description(wlr_output, description); struct wl_event_loop *ev = wl_display_get_event_loop(backend->display); |