use SDL_zeroa at more places where the argument is an array.

This commit is contained in:
Ozkan Sezer
2019-07-31 05:11:40 +03:00
parent 7a47c292c0
commit 4953e050f5
12 changed files with 18 additions and 18 deletions

View File

@@ -100,7 +100,7 @@ _testGenericRWopsValidations(SDL_RWops *rw, int write)
int seekPos = SDLTest_RandomIntegerInRange(4, 8);
/* Clear buffer */
SDL_zero(buf);
SDL_zeroa(buf);
/* Set to start. */
i = SDL_RWseek(rw, 0, RW_SEEK_SET );
@@ -226,7 +226,7 @@ rwops_testMem (void)
int result;
/* Clear buffer */
SDL_zero(mem);
SDL_zeroa(mem);
/* Open */
rw = SDL_RWFromMem(mem, sizeof(RWopsHelloWorldTestString)-1);