(create_offscreen_bitmap): Cast bitsp' to
void **' in
the call to CreateDIBSection, to avoid a compiler warning.
This commit is contained in:
parent
c262c68c52
commit
17757d663f
1 changed files with 1 additions and 1 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Reference in a new issue