mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-06 04:23:47 +00:00
fix(Core/Misc): all GCC warnings (#3457)
This commit is contained in:
3
deps/SFMT/SFMT.h
vendored
3
deps/SFMT/SFMT.h
vendored
@@ -169,7 +169,8 @@ public:
|
||||
uint32_t statesize = SFMT_N*4; // Size of state vector
|
||||
|
||||
// Fill state vector with random numbers from seed
|
||||
((uint32_t*)state)[0] = y;
|
||||
uint32_t* s = (uint32_t*)&state;
|
||||
s[0] = y;
|
||||
const uint32_t factor = 1812433253U;// Multiplication factor
|
||||
|
||||
for (i = 1; i < statesize; i++) {
|
||||
|
||||
Reference in New Issue
Block a user