Skip to content

Conversation

tpambor
Copy link
Contributor

@tpambor tpambor commented Oct 5, 2025

Use %zu format specifier for size_t type (return type of strlen) to ensure compatibility with both 32-bit and 64-bit platforms.

Part of: #96968

Use %zu format specifier for size_t type to ensure compatibility with both
32-bit and 64-bit platforms.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Use %zu format specifier for size_t type to ensure compatibility with both
32-bit and 64-bit platforms.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Use %zu format specifier only for size_t type to ensure compatibility with
both 32-bit and 64-bit platforms.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
@tpambor tpambor changed the title tests/sprintf: Improve compatibility with 64-bit platforms tests/libs/{sprintf, mem_blocks, mem_blocks_stats}: Improve compatibility with 64-bit platforms Oct 5, 2025
@tpambor tpambor changed the title tests/libs/{sprintf, mem_blocks, mem_blocks_stats}: Improve compatibility with 64-bit platforms tests/libs: Improve compatibility with 64-bit platforms Oct 5, 2025
Copy link

sonarqubecloud bot commented Oct 5, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Tests Issues related to a particular existing or missing test area: Utilities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants