harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r510492 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c
Date Thu, 22 Feb 2007 13:06:54 GMT
Author: hindessm
Date: Thu Feb 22 05:06:53 2007
New Revision: 510492

URL: http://svn.apache.org/viewvc?view=rev&rev=510492
Log:
Having this cast causes a compiler error on aix so I'm taking it out.  But
I can't help wondering if it would be better to use pointers rather than
have the cost of the implicit copy of the FT_Bitmap.

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?view=diff&rev=510492&r1=510491&r2=510492
==============================================================================
--- 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
Thu Feb 22 05:06:53 2007
@@ -1379,7 +1379,7 @@
     }                                                              
     
     glyph_bitmap = (FT_BitmapGlyph)(glyph);                          
-    ft_bitmap = (FT_Bitmap)glyph_bitmap->bitmap;
+    ft_bitmap = glyph_bitmap->bitmap;
         
     
     gbmp->left = glyph_bitmap->left;



Mime
View raw message