diff options
author | nijtmans <nijtmans> | 2009-08-10 23:16:28 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-08-10 23:16:28 (GMT) |
commit | cd1fb1befb4664ffe116712fdef181a76f84ff16 (patch) | |
tree | 97e0ef25dc75718395cdf7ff0d3ecf0f5d10f176 /win/tkWinPixmap.c | |
parent | 7aefedb2ea921fbeb0f6d6b99afeb1224a319318 (diff) | |
download | tk-cd1fb1befb4664ffe116712fdef181a76f84ff16.zip tk-cd1fb1befb4664ffe116712fdef181a76f84ff16.tar.gz tk-cd1fb1befb4664ffe116712fdef181a76f84ff16.tar.bz2 |
Eliminate more gcc warnings
Diffstat (limited to 'win/tkWinPixmap.c')
-rw-r--r-- | win/tkWinPixmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinPixmap.c b/win/tkWinPixmap.c index b496f61..3f9c21a 100644 --- a/win/tkWinPixmap.c +++ b/win/tkWinPixmap.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinPixmap.c,v 1.8 2009/04/30 13:44:19 dkf Exp $ + * RCS: @(#) $Id: tkWinPixmap.c,v 1.9 2009/08/10 23:16:28 nijtmans Exp $ */ #include "tkWinInt.h" @@ -76,7 +76,7 @@ Tk_GetPixmap( if (newTwdPtr->bitmap.handle == NULL) { static int repeatError = 0; - unsigned char *bits = NULL; + void *bits = NULL; BITMAPINFO bitmapInfo; HDC dc; @@ -90,7 +90,7 @@ Tk_GetPixmap( bitmapInfo.bmiHeader.biSizeImage = 0; dc = GetDC(NULL); newTwdPtr->bitmap.handle = CreateDIBSection(dc, &bitmapInfo, - DIB_RGB_COLORS, (void **) &bits, 0, 0); + DIB_RGB_COLORS, &bits, 0, 0); ReleaseDC(NULL, dc); /* |