test/testsprite2.c
changeset 4884 27ab20a36eba
parent 4601 cd2523c69d3e
child 4929 aa8888658021
     1.1 --- a/test/testsprite2.c	Tue Sep 14 21:57:29 2010 -0700
     1.2 +++ b/test/testsprite2.c	Wed Sep 15 22:15:47 2010 -0700
     1.3 @@ -315,7 +315,7 @@
     1.4          fprintf(stderr, "Out of memory!\n");
     1.5          quit(2);
     1.6      }
     1.7 -    srand(time(NULL));
     1.8 +    srand((unsigned int)time(NULL));
     1.9      if (scaleMode != SDL_TEXTURESCALEMODE_NONE) {
    1.10          sprite_w += sprite_w / 2;
    1.11          sprite_h += sprite_h / 2;
    1.12 @@ -368,6 +368,7 @@
    1.13          printf("%2.2f frames per second\n", fps);
    1.14      }
    1.15      quit(0);
    1.16 +	return 0;
    1.17  }
    1.18  
    1.19  /* vi: set ts=4 sw=4 expandtab: */