Replace 'srand' with 'srandom' in order to match 'random'.

This commit is contained in:
MapleSign 2018-02-12 18:07:28 +08:00
parent 598c360c8b
commit d87e7e1f1b

View File

@ -108,7 +108,7 @@ int init_value(Node *p_node,const char *type,void * p_value){
}
void rand_init(void){
srand((unsigned)time(NULL));
srandom((unsigned)time(NULL));
}
unsigned long long getId(void){