]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
fix a bunch of warnings
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 3c5dfe748aae9c91a0b03755044df6c8ef7403c0..f579dd91af3752287d9e3cddeb8351f4e797a29f 100644 (file)
--- a/host.c
+++ b/host.c
@@ -1006,7 +1006,7 @@ static void Host_Init (void)
        if (COM_CheckParm("-benchmark"))
                srand(0); // predictable random sequence for -benchmark
        else
-               srand(time(NULL));
+               srand((unsigned int)time(NULL));
 
        // FIXME: this is evil, but possibly temporary
        // LordHavoc: doesn't seem very temporary...