Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!)
(cherry picked from commit c6443d86c9)
This commit is contained in:
1 parent
46d143376a
commit
0d76380042
71 files changed
+525
-234
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user