summaryrefslogtreecommitdiffstats
path: root/win/tkWinMenu.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-30 15:12:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-30 15:12:06 (GMT)
commit82f09d74956b7cd53fb289d631cd52b2a595da96 (patch)
tree550831700714e0ace7a604f0bf0ecde89410f223 /win/tkWinMenu.c
parentb0f6c7757ff6565314d49f69fe45427c6bbda8d7 (diff)
parent49df110769eec89b42d4f354d37bc4762b2d07de (diff)
downloadtk-82f09d74956b7cd53fb289d631cd52b2a595da96.zip
tk-82f09d74956b7cd53fb289d631cd52b2a595da96.tar.gz
tk-82f09d74956b7cd53fb289d631cd52b2a595da96.tar.bz2
[Bug 3511806] Compiler checks too early
(autoconf still to be run!)
Diffstat (limited to 'win/tkWinMenu.c')
-rw-r--r--win/tkWinMenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c
index c25b793..cb40c50 100644
--- a/win/tkWinMenu.c
+++ b/win/tkWinMenu.c
@@ -239,7 +239,7 @@ GetNewID(
}
commandEntryPtr = Tcl_CreateHashEntry(&tsdPtr->commandTable,
- (char *) curID, &new);
+ INT2PTR(curID), &new);
if (new) {
Tcl_SetHashValue(commandEntryPtr, (char *) mePtr);
*menuIDPtr = curID;