diff src/os/linux/vm/jvm_linux.cpp @ 199:f139919897d2

6681796: hotspot build failure on gcc 4.2.x (ubuntu 8.04) w/ openjdk 6 Summary: Fixed the cast from char* to const char* and tried to use const char* as much as possible Reviewed-by: never, kamg Contributed-by: xiaobin.lu@sun.com
author xlu
date Tue, 17 Jun 2008 09:59:59 -0700
parents a61af66fc99e
children c18cbe5936b8
line wrap: on
line diff
--- a/src/os/linux/vm/jvm_linux.cpp	Tue Jun 10 16:39:20 2008 -0700
+++ b/src/os/linux/vm/jvm_linux.cpp	Tue Jun 17 09:59:59 2008 -0700
@@ -132,7 +132,7 @@
 */
 
 struct siglabel {
-  char *name;
+  const char *name;
   int   number;
 };