Commit 17757d66 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(create_offscreen_bitmap): Cast `bitsp' to `void **' in

the call to CreateDIBSection, to avoid a compiler warning.
parent c262c68c
......@@ -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 *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment