mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 14:41:36 +08:00
Add ULL to constants which overflow 32 bits
This commit is contained in:
parent
73b28982aa
commit
a1e14ea93c
@ -61,8 +61,8 @@ class TRand {
|
|||||||
private:
|
private:
|
||||||
// Steps the generator to the next value.
|
// Steps the generator to the next value.
|
||||||
void Iterate() {
|
void Iterate() {
|
||||||
seed_ *= 6364136223846793005;
|
seed_ *= 6364136223846793005ULL;
|
||||||
seed_ += 1442695040888963407;
|
seed_ += 1442695040888963407ULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The current value of the seed.
|
// The current value of the seed.
|
||||||
|
Loading…
Reference in New Issue
Block a user