mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Merge pull request #90 from tfmorris/32bitlong-overflow
Add ULL to constants which overflow 32 bits
This commit is contained in:
commit
f25d63ea91
@ -61,8 +61,8 @@ class TRand {
|
||||
private:
|
||||
// Steps the generator to the next value.
|
||||
void Iterate() {
|
||||
seed_ *= 6364136223846793005;
|
||||
seed_ += 1442695040888963407;
|
||||
seed_ *= 6364136223846793005ULL;
|
||||
seed_ += 1442695040888963407ULL;
|
||||
}
|
||||
|
||||
// The current value of the seed.
|
||||
|
Loading…
Reference in New Issue
Block a user