Skip to content

Commit

Permalink
Reverted comment change in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 17, 2020
1 parent a7ff6e9 commit 48989e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/video/SDL_surface.c
Expand Up @@ -28,8 +28,9 @@
#include "SDL_yuv_c.h"


/* Check to make sure we can safely check multiplication of surface w and pitch and it won't overflow Sint64 */
SDL_COMPILE_TIME_ASSERT(surface_size_assumptions, sizeof(int) == sizeof(Sint32));
/* Check to make sure we can safely check multiplication of surface w and pitch and it won't overflow size_t */
SDL_COMPILE_TIME_ASSERT(surface_size_assumptions,
sizeof(int) == sizeof(Sint32) && sizeof(size_t) >= sizeof(Sint32));

/* Public routines */

Expand Down

0 comments on commit 48989e2

Please sign in to comment.