Skip to content

Commit

Permalink
fix -Wformat problem in 32 bit builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothee Besset authored and slouken committed Jan 29, 2025
1 parent 11dbff2 commit cf249b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/wayland/SDL_waylanddatamanager.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ void *Wayland_data_offer_receive(SDL_WaylandDataOffer *offer,
close(pipefd[0]);
}
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);
return buffer;
}
Expand Down Expand Up @@ -418,7 +418,7 @@ void *Wayland_primary_selection_offer_receive(SDL_WaylandPrimarySelectionOffer *
close(pipefd[0]);
}
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);
return buffer;
}
Expand Down

0 comments on commit cf249b0

Please sign in to comment.