You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/10/16 16:42:31 UTC
svn commit: r585158 -
/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/helpers.c
Author: hindessm
Date: Tue Oct 16 07:42:29 2007
New Revision: 585158
URL: http://svn.apache.org/viewvc?rev=585158&view=rev
Log:
Fix another compiler warning.
Modified:
harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/helpers.c
Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/helpers.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/helpers.c?rev=585158&r1=585157&r2=585158&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/helpers.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/helpers.c Tue Oct 16 07:42:29 2007
@@ -45,8 +45,8 @@
getPlatformRoots (char *rootStrings)
{
rootStrings[0] = (char) '/';
- rootStrings[1] = (char) NULL;
- rootStrings[2] = (char) NULL;
+ rootStrings[1] = (char) 0;
+ rootStrings[2] = (char) 0;
return 1;
}