harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r830146 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c
Date Tue, 27 Oct 2009 12:32:04 GMT
Author: hindessm
Date: Tue Oct 27 12:32:03 2009
New Revision: 830146

URL: http://svn.apache.org/viewvc?rev=830146&view=rev
Log:
Fix incorrect return cast.

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c?rev=830146&r1=830145&r2=830146&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c
Tue Oct 27 12:32:03 2009
@@ -967,7 +967,7 @@
         free(fontList);
 
         throwNPException(env, "Not enough memory to create families list");
-        return (jlong)(IDATA)NULL;
+        return (jobjectArray)NULL;
     }
 
     for (i = 0;i < numFonts;i++){



Mime
View raw message