summaryrefslogtreecommitdiffstats
path: root/win/tkWinPixmap.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2011-08-16 13:03:43 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2011-08-16 13:03:43 (GMT)
commit200084c384c9ad05a9aff68ed345f6f59c286228 (patch)
treec4452046a4a872fb20c9437f5719b664baca41d7 /win/tkWinPixmap.c
parent6bbf480a398c0d9f2a74f237213633d8687e271b (diff)
parent91f01a5b565940d1117e68d5377eb20cdca40514 (diff)
downloadtk-200084c384c9ad05a9aff68ed345f6f59c286228.zip
tk-200084c384c9ad05a9aff68ed345f6f59c286228.tar.gz
tk-200084c384c9ad05a9aff68ed345f6f59c286228.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tkWinPixmap.c')
-rw-r--r--win/tkWinPixmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinPixmap.c b/win/tkWinPixmap.c
index 8eff2c5..51f0f59 100644
--- a/win/tkWinPixmap.c
+++ b/win/tkWinPixmap.c
@@ -59,7 +59,7 @@ Tk_GetPixmap(
screen = &display->screens[0];
planes = 1;
if (depth == screen->root_depth) {
- planes = (int) screen->ext_data;
+ planes = PTR2INT(screen->ext_data);
depth /= planes;
}
newTwdPtr->bitmap.handle =