[kaffe] CVS kaffe (robilad): small warning fix

Kaffe CVS cvs-commits at kaffe.org
Wed Mar 8 15:01:02 PST 2006


PatchSet 7145 
Date: 2006/03/08 22:48:14
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warning fix

2006-03-09  Dalibor Topic  <topic at amy.domain.wg>

* libraries/clib/native/TimeZone.c (java_util_VMTimeZone_getSystemTimeZoneId):
Made tempZoneName const to fix a compiler warning.

Members: 
	ChangeLog:1.4663->1.4664 
	libraries/clib/native/TimeZone.c:1.8->1.9 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4663 kaffe/ChangeLog:1.4664
--- kaffe/ChangeLog:1.4663	Wed Mar  8 21:21:20 2006
+++ kaffe/ChangeLog	Wed Mar  8 22:48:14 2006
@@ -1,3 +1,8 @@
+2006-03-09  Dalibor Topic  <topic at amy.domain.wg>
+
+	* libraries/clib/native/TimeZone.c (java_util_VMTimeZone_getSystemTimeZoneId): 
+	Made tempZoneName const to fix a compiler warning.
+
 2006-03-08  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	Fix bug #23
Index: kaffe/libraries/clib/native/TimeZone.c
diff -u kaffe/libraries/clib/native/TimeZone.c:1.8 kaffe/libraries/clib/native/TimeZone.c:1.9
--- kaffe/libraries/clib/native/TimeZone.c:1.8	Thu Aug 18 22:49:21 2005
+++ kaffe/libraries/clib/native/TimeZone.c	Wed Mar  8 22:48:22 2006
@@ -28,7 +28,7 @@
 struct Hjava_lang_String*
 java_util_VMTimeZone_getSystemTimeZoneId(void)
 {
-	        char *tempZoneName = NULL;
+	        const char *tempZoneName = NULL;
 #if defined(HAVE_TM_ZONE)
 	        struct tm *tempTimeStruct;
 	        time_t tempTimeArithm;




More information about the kaffe mailing list