HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c262c68
)
(create_offscreen_bitmap): Cast `bitsp' to `void **' in
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 11 Jun 2005 15:10:58 +0000
(15:10 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 11 Jun 2005 15:10:58 +0000
(15:10 +0000)
the call to CreateDIBSection, to avoid a compiler warning.
src/w32bdf.c
patch
|
blob
|
blame
|
history
diff --git
a/src/w32bdf.c
b/src/w32bdf.c
index
092aff3
..
8d57cbd
100644
(file)
--- a/
src/w32bdf.c
+++ b/
src/w32bdf.c
@@
-604,7
+604,7
@@
create_offscreen_bitmap(HDC hdc, int width, int height, unsigned char **bitsp)
info.c[1].rgbRed = info.c[1].rgbGreen = info.c[1].rgbBlue = 255;
return CreateDIBSection(hdc, (LPBITMAPINFO)&info,
- DIB_RGB_COLORS, bitsp, NULL, 0);
+ DIB_RGB_COLORS,
(void **)
bitsp, NULL, 0);
}
glyph_metric *