]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
According to Frank Dijcks, this cast makes OpenWatcom happier.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 10 Jan 2007 00:46:45 +0000 (00:46 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 10 Jan 2007 00:46:45 +0000 (00:46 +0000)
[originally from svn r7089]

windows/window.c

index a2ef1bf03dc319e105f66f08656d4ea618158aab..c86b14b518dd2ad897694acbc2179df994e35088 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,