Author: janderwald
Date: Wed Aug 30 13:45:08 2006
New Revision: 23798
URL:
http://svn.reactos.org/svn/reactos?rev=23798&view=rev
Log:
* remove useless cast
Modified:
trunk/reactos/dll/win32/gdi32/objects/font.c
Modified: trunk/reactos/dll/win32/gdi32/objects/font.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/fo…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/font.c (original)
+++ trunk/reactos/dll/win32/gdi32/objects/font.c Wed Aug 30 13:45:08 2006
@@ -252,8 +252,8 @@
if (Unicode)
{
Ret = ((FONTENUMPROCW) EnumProc)(
- (LPLOGFONTW)&Info[i].EnumLogFontEx,
- (LPTEXTMETRICW)&Info[i].NewTextMetricEx,
+ &Info[i].EnumLogFontEx,
+ &Info[i].NewTextMetricEx,
Info[i].FontType, lParam);
}
else
@@ -268,8 +268,8 @@
NewTextMetricExW2A(&NewTextMetricExA,
&Info[i].NewTextMetricEx);
Ret = ((FONTENUMPROCA) EnumProc)(
- (LPLOGFONTA)&EnumLogFontExA,
- (LPTEXTMETRICA)&NewTextMetricExA,
+ &EnumLogFontExA,
+ &NewTextMetricExA,
Info[i].FontType, lParam);
}
}