harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r585156 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.c
Date Tue, 16 Oct 2007 14:39:51 GMT
Author: hindessm
Date: Tue Oct 16 07:39:44 2007
New Revision: 585156

URL: http://svn.apache.org/viewvc?rev=585156&view=rev
Log:
Fix compiler warning.

Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.c

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.c?rev=585156&r1=585155&r2=585156&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.c Tue
Oct 16 07:39:44 2007
@@ -590,7 +590,8 @@
 {
   char *endPathPtr = NULL;
   char *launcherName = NULL;
-  char **pathSet = portLib->mem_allocate_memory (portLib, sizeof(char*)*2);
+  const char **pathSet =
+          portLib->mem_allocate_memory (portLib, sizeof(char*)*2);
   char *vmPath = NULL;
 
   hysysinfo_get_executable_name (portLib, NULL, &launcherName);



Mime
View raw message