According to Frank Dijcks, this cast makes OpenWatcom happier.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 10 Jan 2007 00:46:45 +0000 (00:46 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 10 Jan 2007 00:46:45 +0000 (00:46 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@7089 cda61777-01e9-0310-a592-d414129be87e

windows/window.c

index a2ef1bf..c86b14b 100644 (file)
@@ -1233,7 +1233,7 @@ static void exact_textout(HDC hdc, int x, int y, CONST RECT *lprc,
 
     gcpr.lStructSize = sizeof(gcpr);
     gcpr.lpGlyphs = (void *)buffer;
-    gcpr.lpClass = classbuffer;
+    gcpr.lpClass = (void *)classbuffer;
     gcpr.nGlyphs = cbCount;
 
     GetCharacterPlacementW(hdc, lpString, cbCount, 0, &gcpr,