X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=random.h;h=54d0f78035ce03d7e5971c22b35c738e6f6ec6b5;hp=4fa9aaed51a6174bedd0850a3e98d1f02a07cc74;hb=ac3628afff01679dfa9da69cf010764970e40be7;hpb=e28fcecc54036e7258172b96e97df4a8131f0d9a diff --git a/random.h b/random.h index 4fa9aae..54d0f78 100644 --- a/random.h +++ b/random.h @@ -12,8 +12,8 @@ /* function prototypes */ int rand_init(char *rf); int rand_close(void); -int get_rand(u32 max); -int get_rand_lgp(u32 max,double a,double b); +u32 get_rand(u32 max); +u32 get_rand_lgp(u32 max,double a,double b); #define BUFSIZE (16*1048576) /* 64 MByte */ #define URAND_MAX 0xffffffff