Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!)

(cherry picked from commit c6443d86c9)
This commit is contained in:
Sam Lantinga 2023-03-09 15:10:00 -08:00
parent 46d143376a
commit 0d76380042
71 changed files with 525 additions and 234 deletions

View file

@ -704,7 +704,7 @@ SDL_AllocRW(void)
{
SDL_RWops *area;
area = (SDL_RWops *)SDL_malloc(sizeof *area);
area = (SDL_RWops *)SDL_malloc(sizeof(*area));
if (area == NULL) {
SDL_OutOfMemory();
} else {