diff test/testdraw2.c @ 4884:27ab20a36eba

- added directx include path to VS2008 solution - updated shape vcproj and add it to VS2008 solution - minor changes (i.e. typecasting) to get rid of compiler warnings in VS
author Andreas Schiffler <aschiffler@ferzkopp.net>
date Wed, 15 Sep 2010 22:15:47 -0700
parents 64ce267332c6
children e743b9c3f6d6
line wrap: on
line diff
--- a/test/testdraw2.c	Tue Sep 14 21:57:29 2010 -0700
+++ b/test/testdraw2.c	Wed Sep 15 22:15:47 2010 -0700
@@ -234,7 +234,7 @@
         SDL_RenderClear();
     }
 
-    srand(time(NULL));
+    srand((unsigned int)time(NULL));
 
     /* Main render loop */
     frames = 0;