mirror of
https://github.com/znc/znc.git
synced 2026-08-01 06:23:32 +02:00
Fix more warnings and #197
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ static void seedPRNG() {
|
||||
|
||||
// This is in [0:1e6], which means that roughly 20 bits are
|
||||
// actually used, let's try to shuffle the high bits.
|
||||
seed ^= (tv.tv_usec << 10) | tv.tv_usec;
|
||||
seed ^= uint32_t((tv.tv_usec << 10) | tv.tv_usec);
|
||||
} else
|
||||
seed = (unsigned int)time(NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user