[MPlayer-cvslog] r32909 - trunk/gui/skin/font.c

ib subversion at mplayerhq.hu
Wed Feb 16 16:56:54 CET 2011


Author: ib
Date: Wed Feb 16 16:56:54 2011
New Revision: 32909

Log:
Remove needless cast.

Modified:
   trunk/gui/skin/font.c

Modified: trunk/gui/skin/font.c
==============================================================================
--- trunk/gui/skin/font.c	Wed Feb 16 16:43:47 2011	(r32908)
+++ trunk/gui/skin/font.c	Wed Feb 16 16:56:54 2011	(r32909)
@@ -195,7 +195,7 @@ int fntTextWidth( int id,char * str )
  unsigned char *p;
 
  utf8 = g_utf8_validate( str, -1, NULL);
- p = (unsigned char *) str;
+ p = str;
 
  while ( *p )
   {
@@ -213,7 +213,7 @@ int fntTextHeight( int id,char * str )
  unsigned char *p;
 
  utf8 = g_utf8_validate( str, -1, NULL);
- p = (unsigned char *) str;
+ p = str;
 
  while ( *p )
   {


More information about the MPlayer-cvslog mailing list