summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/w32bdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32bdf.c b/src/w32bdf.c
index 092aff306dc..8d57cbd3523 100644
--- 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 *