summaryrefslogtreecommitdiffstats
path: root/win/tkWinMenu.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-12 21:04:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-12 21:04:47 (GMT)
commit6543fa41fa55392ee287df3d24888f2662bb7b8d (patch)
tree063bedd2c23caf56c700b120451a3e5f80fe1def /win/tkWinMenu.c
parent344dce41c2bb55fa7708a2257500ab98ef51829e (diff)
parent2b6251c4c824d5477da8fa35609508dde84084f7 (diff)
downloadtk-6543fa41fa55392ee287df3d24888f2662bb7b8d.zip
tk-6543fa41fa55392ee287df3d24888f2662bb7b8d.tar.gz
tk-6543fa41fa55392ee287df3d24888f2662bb7b8d.tar.bz2
merge trunk
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;