Fix warnings: calloc-transposed-args

This commit is contained in:
Petar Popovic authored and Sam Lantinga committed 2024-09-08 19:28:11 -07:00
1 parent 0da2bd49c8
commit d2ef15d8e6
7 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
if (!SDLTest_CommonInit(state)) {
goto onerror;
}
dialog = SDL_calloc(sizeof(dropfile_dialog), 1);
dialog = SDL_calloc(1, sizeof(dropfile_dialog));
if (!dialog) {
goto onerror;
}