Ver Fonte

testintersections: fix conversion from `time_t` to `unsigned int`

Emitted by MSVC
Anonymous Maarten há 3 anos atrás
pai
commit
3c251ec41e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      test/testintersections.c

+ 1 - 1
test/testintersections.c

@@ -333,7 +333,7 @@ main(int argc, char *argv[])
         SDL_RenderClear(renderer);
         SDL_RenderClear(renderer);
     }
     }
 
 
-    srand(time(NULL));
+    srand((unsigned int)time(NULL));
 
 
     /* Main render loop */
     /* Main render loop */
     frames = 0;
     frames = 0;