Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
woops
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 30 Jun 2016 12:40:29 +0000 (14:40 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 30 Jun 2016 12:40:29 +0000 (14:40 +0200)
teshsuite/surf/maxmin_bench/maxmin_bench.c

index 8f2786e..dd0e0f8 100644 (file)
@@ -32,7 +32,7 @@ static double float_random(double max)
 
 static unsigned int int_random(int max)
 {
 
 static unsigned int int_random(int max)
 {
-  return (u_int32_t) (((max * 1.0) * myrand()) / (MYRANDMAX + 1.0));
+  return (uint32_t) (((max * 1.0) * myrand()) / (MYRANDMAX + 1.0));
 }
 
 static void test(int nb_cnst, int nb_var, int nb_elem, unsigned int pw_base_limit, unsigned int pw_max_limit,
 }
 
 static void test(int nb_cnst, int nb_var, int nb_elem, unsigned int pw_base_limit, unsigned int pw_max_limit,