mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-21 04:35:23 +08:00
use SDL_zeroa at more places where the argument is an array.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user