test/testatomic.c
changeset 12968 0e3948762c96
parent 12503 806492103856
     1.1 --- a/test/testatomic.c	Wed Jul 31 01:22:02 2019 +0300
     1.2 +++ b/test/testatomic.c	Wed Jul 31 05:11:40 2019 +0300
     1.3 @@ -626,7 +626,7 @@
     1.4  
     1.5      /* Start the readers first */
     1.6      SDL_Log("Starting %d readers\n", NUM_READERS);
     1.7 -    SDL_zero(readerData);
     1.8 +    SDL_zeroa(readerData);
     1.9      SDL_AtomicSet(&readersRunning, NUM_READERS);
    1.10      for (i = 0; i < NUM_READERS; ++i) {
    1.11          char name[64];
    1.12 @@ -638,7 +638,7 @@
    1.13  
    1.14      /* Start up the writers */
    1.15      SDL_Log("Starting %d writers\n", NUM_WRITERS);
    1.16 -    SDL_zero(writerData);
    1.17 +    SDL_zeroa(writerData);
    1.18      SDL_AtomicSet(&writersRunning, NUM_WRITERS);
    1.19      for (i = 0; i < NUM_WRITERS; ++i) {
    1.20          char name[64];