changeset 63321:7378cb12a687

(create_offscreen_bitmap): Cast `bitsp' to `void **' in the call to CreateDIBSection, to avoid a compiler warning.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 11 Jun 2005 15:10:58 +0000
parents bc4fc6b4337e
children ca9285a9e7ee
files src/w32bdf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 *