Salome HOME
code revision for Linux
[modules/hydro.git] / src / HYDRO_tests / random.cxx
index da51deba23e9f55a3a5b0495e81f51b02c8e4345..c0f115720016914ad101a2703f33e31579a6eaf9 100644 (file)
@@ -1,16 +1,16 @@
 
 #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);