mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Misc. minor fixes
This commit is contained in:
parent
e6f0178e83
commit
8eb272cea3
5 changed files with 68 additions and 95 deletions
|
@ -138,7 +138,7 @@ void PcgRandom::bytes(void *out, size_t len)
|
|||
*outb = r & 0xFF;
|
||||
outb++;
|
||||
bytes_left--;
|
||||
r >>= 8;
|
||||
r >>= CHAR_BIT;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue