From: Eli Zaretskii Date: Sat, 11 Jun 2005 15:10:58 +0000 (+0000) Subject: (create_offscreen_bitmap): Cast `bitsp' to `void **' in X-Git-Tag: emacs-pretest-22.0.90~9040 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=17757d663fba6555c4c285ed86c47aa5b801add3;p=emacs.git (create_offscreen_bitmap): Cast `bitsp' to `void **' in the call to CreateDIBSection, to avoid a compiler warning. --- 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 *