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:
Volker Simonis 2014-08-27 10:42:28 -07:00 committed by Calvin Cheung
parent 3a78ac3c1b
commit d9da8946df

View file

@ -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;