# HG changeset patch # User Eli Zaretskii # Date 1118502658 0 # Node ID 7378cb12a6874b7f1e77eea61806649d691d80c0 # Parent bc4fc6b4337e371de9d935f231a0dcd53485f7f8 (create_offscreen_bitmap): Cast `bitsp' to `void **' in the call to CreateDIBSection, to avoid a compiler warning. diff -r bc4fc6b4337e -r 7378cb12a687 src/w32bdf.c --- a/src/w32bdf.c Sat Jun 11 14:50:00 2005 +0000 +++ b/src/w32bdf.c Sat Jun 11 15:10:58 2005 +0000 @@ -604,7 +604,7 @@ 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 *