summaryrefslogtreecommitdiffstats
path: root/win/tkWinMenu.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-02 09:48:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-02 09:48:06 (GMT)
commit6fb70434886c81f401e6941b84adcfa80454dc39 (patch)
treec1c388415687a10fe7e876469402a54d53ff3939 /win/tkWinMenu.c
parentf5388f87a1561b44ad0b3ceaefa06ba58125adbe (diff)
parent33bde427645f8931d8634cdba1819b5e66a69bd0 (diff)
downloadtk-6fb70434886c81f401e6941b84adcfa80454dc39.zip
tk-6fb70434886c81f401e6941b84adcfa80454dc39.tar.gz
tk-6fb70434886c81f401e6941b84adcfa80454dc39.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 b1bf7f8..245639d 100644
--- a/win/tkWinMenu.c
+++ b/win/tkWinMenu.c
@@ -235,7 +235,7 @@ GetNewID(
}
commandEntryPtr = Tcl_CreateHashEntry(&tsdPtr->commandTable,
- (char *) curID, &new);
+ INT2PTR(curID), &new);
if (new) {
Tcl_SetHashValue(commandEntryPtr, mePtr);
*menuIDPtr = curID;