mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
use SDL_zeroa at more places where the argument is an array.
This commit is contained in:
parent
7a47c292c0
commit
4953e050f5
12 changed files with 18 additions and 18 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue