mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-5445 Fix some compiler warnings. Consulted with Eric for details.
X-SVN-Rev: 22426
This commit is contained in:
parent
2aca9a194a
commit
9754c268d3
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ static void initRandom(int64_t min, int64_t max)
|
|||
ranMax = max;
|
||||
ranInt = 0;
|
||||
|
||||
if (interval < U_INT64_MIN) {
|
||||
/* Verify that we don't have a huge interval. */
|
||||
if (interval < (uint64_t)U_INT64_MAX) {
|
||||
ranInt = interval;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue