Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select: fix -Wformat warnings #1817

Merged
merged 1 commit into from
Sep 22, 2023
Merged

Conversation

svenvh
Copy link
Member

@svenvh svenvh commented Sep 21, 2023

Fix the following issues in the select tests:

  • Printing of a size_t requires the %z specifier.
  • Printing of cl_long/cl_ulong is now done using the PRI*64 macros to ensure portability across 32 and 64-bit builds.

 * Printing of a `size_t` requires the `%z` specifier.

 * Printing of `cl_long`/`cl_ulong` is now done using the `PRI*64`
   macros to ensure portability across 32 and 64-bit builds.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Copy link
Contributor

@bashbaug bashbaug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM!

@bashbaug bashbaug merged commit b143a99 into KhronosGroup:main Sep 22, 2023
6 checks passed
@svenvh svenvh deleted the wformat-select branch September 22, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants