mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Clang-Tidy fixes (#6725)
This commit is contained in:
parent
c2ce44bead
commit
3c501b963d
184 changed files with 1312 additions and 1154 deletions
|
|
@ -380,7 +380,7 @@ int stdlib_sscanf(void *arg)
|
|||
SIZED_TEST_CASE(long long, long_long, "%lld")
|
||||
|
||||
size_output = 123;
|
||||
expected_size_output = (size_t)~0;
|
||||
expected_size_output = ~((size_t)0);
|
||||
expected_result = 1;
|
||||
result = SDL_snprintf(text, sizeof(text), "%zu", expected_size_output);
|
||||
result = SDL_sscanf(text, "%zu", &size_output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue