Fix for bug #8680: GameLogic.getRandomFloat() returns very small
[blender-staging.git] / intern / moto / include / MT_random.h
index d7da546cf03b3d9ec6be0b5444808fbcb0ce2bbe..3afe1dd16622271f3ef57ba079d846e86eb97a69 100644 (file)
 
 #include <limits.h>
 
-#define MT_RAND_MAX ULONG_MAX
+#define MT_RAND_MAX UINT_MAX
 
-extern void          MT_srand(unsigned long);
-extern unsigned long MT_rand();
+extern void          MT_srand(unsigned int);
+extern unsigned int  MT_rand();
 
 #endif