Replace 'srand' with 'srandom' in order to match 'random'.
This commit is contained in:
parent
598c360c8b
commit
d87e7e1f1b
@ -108,7 +108,7 @@ int init_value(Node *p_node,const char *type,void * p_value){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void rand_init(void){
|
void rand_init(void){
|
||||||
srand((unsigned)time(NULL));
|
srandom((unsigned)time(NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long long getId(void){
|
unsigned long long getId(void){
|
||||||
|
Loading…
Reference in New Issue
Block a user