Andrew Talbot : winex11.drv: Remove unneeded casts.
Alexandre Julliard
julliard at winehq.org
Tue Feb 5 06:34:26 CST 2008
Module: wine
Branch: master
Commit: 6436dd616944dc855f13ed8256b6def4a9419298
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6436dd616944dc855f13ed8256b6def4a9419298
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Mon Feb 4 22:07:44 2008 +0000
winex11.drv: Remove unneeded casts.
---
dlls/winex11.drv/xfont.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/xfont.c b/dlls/winex11.drv/xfont.c
index a55e77d..7dc3a40 100644
--- a/dlls/winex11.drv/xfont.c
+++ b/dlls/winex11.drv/xfont.c
@@ -3100,7 +3100,7 @@ static X_PHYSFONT XFONT_RealizeFont( LPLOGFONT16 plf,
pfo->lpPixmap = NULL;
for ( i = 0; i < X11FONT_REFOBJS_MAX; i++ )
- pfo->prefobjs[i] = (X_PHYSFONT)0xffffffff; /* invalid value */
+ pfo->prefobjs[i] = 0xffffffff; /* invalid value */
/* special treatment for DBCS that needs multiple fonts */
/* All member of pfo must be set correctly. */
@@ -3165,7 +3165,7 @@ END:
*faceMatched = pfo->fi->df.dfFace;
*pcharsetMatched = pfo->fi->internal_charset;
- return (X_PHYSFONT)(X_PFONT_MAGIC | index);
+ return X_PFONT_MAGIC | index;
}
/***********************************************************************
More information about the wine-cvs
mailing list