Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!)
(cherry picked from commit c6443d86c9
)
This commit is contained in:
parent
46d143376a
commit
0d76380042
71 changed files with 525 additions and 234 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue