Clang-Tidy fixes (#6725)

This commit is contained in:
Pierre Wendling authored and GitHub committed 2022-12-01 13:07:03 -08:00
1 parent c2ce44bead
commit 3c501b963d
184 files changed
+1312 -1154

No files matched your search

+1 -1
View File
@@ -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);