fix -Wformat problem in 32 bit builds

This commit is contained in:
Timothee Besset 2025-01-28 13:32:57 -06:00 committed by Sam Lantinga
parent 11dbff246f
commit cf249b0cb2
1 changed files with 2 additions and 2 deletions

View File

@ -382,7 +382,7 @@ void *Wayland_data_offer_receive(SDL_WaylandDataOffer *offer,
close(pipefd[0]); close(pipefd[0]);
} }
SDL_LogTrace(SDL_LOG_CATEGORY_INPUT, SDL_LogTrace(SDL_LOG_CATEGORY_INPUT,
". In Wayland_data_offer_receive for '%s', buffer (%ld) at %p", ". In Wayland_data_offer_receive for '%s', buffer (%zu) at %p",
mime_type, *length, buffer); mime_type, *length, buffer);
return buffer; return buffer;
} }
@ -418,7 +418,7 @@ void *Wayland_primary_selection_offer_receive(SDL_WaylandPrimarySelectionOffer *
close(pipefd[0]); close(pipefd[0]);
} }
SDL_LogTrace(SDL_LOG_CATEGORY_INPUT, SDL_LogTrace(SDL_LOG_CATEGORY_INPUT,
". In Wayland_primary_selection_offer_receive for '%s', buffer (%ld) at %p", ". In Wayland_primary_selection_offer_receive for '%s', buffer (%zu) at %p",
mime_type, *length, buffer); mime_type, *length, buffer);
return buffer; return buffer;
} }