Getting a warning message with srand time null on Xcode

前端 未结 0 1927
不思量自难忘°
不思量自难忘° 2021-02-02 02:15

Originally I just had a normal

srand(time(NULL));

And I was getting a warning message "Implicit conversion loses integer precision: \'time_t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题