#include <random.h>
-int m_w = 1;
-int m_z = 1;
+quint32 m_w = 1;
+quint32 m_z = 1;
-void test_srand( unsigned int theValue )
+void test_srand( quint32 theValue )
{
m_w = theValue + 1;
m_z = theValue / 2;
}
-unsigned int test_rand()
+quint32 test_rand()
{
m_z = 36969 * (m_z & 65535) + (m_z >> 16);
m_w = 18000 * (m_w & 65535) + (m_w >> 16);