[Commits] SDL: Fixed compiler warning

libsdl.org revision control commits-owner at libsdl.org
Sat Dec 9 13:05:59 PST 2017


details:   https://hg.libsdl.org/SDL/rev/5f52e99c49b0
changeset: 11752:5f52e99c49b0
user:      Sam Lantinga <slouken at libsdl.org>
date:      Sat Dec 09 13:05:56 2017 -0800
description:
Fixed compiler warning

diffstat:

 src/test/SDL_test_random.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f5a8e41ac249 -r 5f52e99c49b0 src/test/SDL_test_random.c
--- a/src/test/SDL_test_random.c	Sat Dec 09 12:58:41 2017 -0800
+++ b/src/test/SDL_test_random.c	Sat Dec 09 13:05:56 2017 -0800
@@ -70,7 +70,7 @@
 
   srand((unsigned int)time(NULL));
   a=rand();
-  srand(clock());
+  srand((unsigned int)clock());
   b=rand();
   SDLTest_RandomInit(rndContext, a, b);
 }


More information about the commits mailing list