changeset 7013:dc1a065e6989

8056175: Change "8048150: Allow easy configurations for large CDS archives" triggers conversion warning with older GCC Summary: cast the result of the conversion to uintx Reviewed-by: ccheung, coleenp Contributed-by: volker.simonis@gmail.com
author ccheung
date Wed, 27 Aug 2014 10:42:28 -0700
parents 8ae56f4f758f
children fe13911efa5b 4acab3118361
files src/share/vm/memory/metaspaceShared.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/memory/metaspaceShared.hpp	Tue Aug 26 13:07:57 2014 -0700
+++ b/src/share/vm/memory/metaspaceShared.hpp	Wed Aug 27 10:42:28 2014 -0700
@@ -41,7 +41,7 @@
 
 #define SET_ESTIMATED_SIZE(type, region)                              \
   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;