X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/9ad36e5fbb0bdbc6ddaf74b10333a0bfe2205600..44e975e0ca158977991317b312238ab136820f4a:/windows/window.c diff --git a/windows/window.c b/windows/window.c index a2ef1bf0..c86b14b5 100644 --- a/windows/window.c +++ b/windows/window.c @@ -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,