projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
According to Frank Dijcks, this cast makes OpenWatcom happier.
[u/mdw/putty]
/
windows
/
window.c
diff --git
a/windows/window.c
b/windows/window.c
index
a2ef1bf
..
c86b14b
100644
(file)
--- 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,