Skip to content

Commit e29de5d

Browse files
committed
Merge pull request opencv#10343 from tomoaki0705:suppressWarningEncoding
2 parents 1654dfe + 65f502b commit e29de5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rdparty/libwebp/src/enc/histogram_enc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ static void HistogramCombineEntropyBin(VP8LHistogramSet* const image_histo,
605605
}
606606

607607
// Implement a Lehmer random number generator with a multiplicative constant of
608-
// 48271 and a modulo constant of 2^31 1.
608+
// 48271 and a modulo constant of 2^31 - 1.
609609
static uint32_t MyRand(uint32_t* const seed) {
610610
*seed = (uint32_t)(((uint64_t)(*seed) * 48271u) % 2147483647u);
611611
assert(*seed > 0);

0 commit comments

Comments
 (0)