Explicit cast to keep some compilers quiet.
This commit was SVN r12003.
Этот коммит содержится в:
родитель
d1e884fbf5
Коммит
6a9f0b6ba9
@ -55,7 +55,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static inline void orte_pre_condition_transports_use_rand(uint64_t* unique_key) {
|
static inline void orte_pre_condition_transports_use_rand(uint64_t* unique_key) {
|
||||||
srand(time(NULL));
|
srand((unsigned int)time(NULL));
|
||||||
unique_key[1] = rand();
|
unique_key[1] = rand();
|
||||||
unique_key[2] = rand();
|
unique_key[2] = rand();
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user