hotspot/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp
changeset 1888 bbf498fb4354
parent 670 ddf3e9583f2f
child 2105 347008ce7984
equal deleted inserted replaced
1887:0ed88ac17540 1888:bbf498fb4354
   113 // same size as a pointer.
   113 // same size as a pointer.
   114 #ifdef LINUX
   114 #ifdef LINUX
   115   #ifdef _LP64
   115   #ifdef _LP64
   116     #define NULL_WORD  0L
   116     #define NULL_WORD  0L
   117   #else
   117   #else
   118     #define NULL_WORD  0
   118     // Cast 0 to intptr_t rather than int32_t since they are not the same type
       
   119     // on some platforms.
       
   120     #define NULL_WORD  ((intptr_t)0)
   119   #endif
   121   #endif
   120 #else
   122 #else
   121   #define NULL_WORD  NULL
   123   #define NULL_WORD  NULL
   122 #endif
   124 #endif
   123 
   125