mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8056175: Change "8048150: Allow easy configurations for large CDS archives" triggers conversion warning with older GCC
Cast the result of the conversion to uintx Reviewed-by: ccheung, coleenp
This commit is contained in:
parent
3a78ac3c1b
commit
d9da8946df
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
#define SET_ESTIMATED_SIZE(type, region) \
|
#define SET_ESTIMATED_SIZE(type, region) \
|
||||||
Shared ##region## Size = FLAG_IS_DEFAULT(Shared ##region## Size) ? \
|
Shared ##region## Size = FLAG_IS_DEFAULT(Shared ##region## Size) ? \
|
||||||
(type ## SharedArchiveSize * region ## RegionPercentage) : Shared ## region ## Size
|
(uintx)(type ## SharedArchiveSize * region ## RegionPercentage) : Shared ## region ## Size
|
||||||
|
|
||||||
class FileMapInfo;
|
class FileMapInfo;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue