summaryrefslogtreecommitdiffstats
path: root/win/tkWinPixmap.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2007-01-11 15:35:39 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2007-01-11 15:35:39 (GMT)
commit8a1e8594d50f9f447a44a0b55e35a5747d16fef6 (patch)
tree9afda096b9165b4f20fb70975876d2bf0c1c2c29 /win/tkWinPixmap.c
parent37cb109b3778729819defa1b601f35fdbd071c45 (diff)
downloadtk-8a1e8594d50f9f447a44a0b55e35a5747d16fef6.zip
tk-8a1e8594d50f9f447a44a0b55e35a5747d16fef6.tar.gz
tk-8a1e8594d50f9f447a44a0b55e35a5747d16fef6.tar.bz2
Many minute fixes to reduce number of minor warnings from GCC.
Diffstat (limited to 'win/tkWinPixmap.c')
-rw-r--r--win/tkWinPixmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinPixmap.c b/win/tkWinPixmap.c
index ee07e7c..369c25c 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.6 2005/12/02 13:42:29 dkf Exp $
+ * RCS: @(#) $Id: tkWinPixmap.c,v 1.7 2007/01/11 15:35:41 dkf Exp $
*/
#include "tkWinInt.h"
@@ -66,7 +66,7 @@ Tk_GetPixmap(
depth /= planes;
}
newTwdPtr->bitmap.handle =
- CreateBitmap(width, height, planes, depth, NULL);
+ CreateBitmap(width, height, (DWORD) planes, (DWORD) depth, NULL);
if (newTwdPtr->bitmap.handle == NULL) {
ckfree((char *) newTwdPtr);