diff options
author | das <das> | 2007-10-15 07:24:47 (GMT) |
---|---|---|
committer | das <das> | 2007-10-15 07:24:47 (GMT) |
commit | 18b16bf612ddd38f5f3dd7a847d49c82c6f1d91e (patch) | |
tree | 67915c083365997a60c6f2e4622f437540598f6d /unix/tkUnixMenu.c | |
parent | 88d89a4c6c5326d9860184c979aa56f2554336fc (diff) | |
download | tk-18b16bf612ddd38f5f3dd7a847d49c82c6f1d91e.zip tk-18b16bf612ddd38f5f3dd7a847d49c82c6f1d91e.tar.gz tk-18b16bf612ddd38f5f3dd7a847d49c82c6f1d91e.tar.bz2 |
* generic/tkArgv.c: Fix gcc warnings about 'cast to/from
* generic/tkCanvUtil.c: pointer from/to integer of different
* generic/tkCanvas.c: size' on 64-bit platforms by casting
* generic/tkCursor.c: to intermediate types
* generic/tkInt.h: intptr_t/uintptr_t via new PTR2INT(),
* generic/tkListbox.c: INT2PTR(), PTR2UINT() and UINT2PTR()
* generic/tkObj.c: macros.
* generic/tkStyle.c:
* generic/tkTextIndex.c:
* generic/tkUtil.c:
* generic/ttk/ttkTheme.h:
* generic/ttk/ttkTreeview.c:
* unix/tkUnixMenu.c:
* unix/configure.in:
* unix/configure: autoconf-2.59
* unix/tkConfig.h.in: autoheader-2.59
Diffstat (limited to 'unix/tkUnixMenu.c')
-rw-r--r-- | unix/tkUnixMenu.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/unix/tkUnixMenu.c b/unix/tkUnixMenu.c index c87d904..5239db5 100644 --- a/unix/tkUnixMenu.c +++ b/unix/tkUnixMenu.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixMenu.c,v 1.17 2007/09/07 00:34:58 dgp Exp $ + * RCS: @(#) $Id: tkUnixMenu.c,v 1.18 2007/10/15 07:24:50 das Exp $ */ #include "default.h" @@ -338,19 +338,19 @@ GetMenuIndicatorGeometry( *heightPtr = mePtr->height; if (mePtr->type == CHECK_BUTTON_ENTRY) { mePtr->platformEntryData = (TkMenuPlatformEntryData) - ((65 * mePtr->height) / 100); + INT2PTR((65 * mePtr->height) / 100); } else { mePtr->platformEntryData = (TkMenuPlatformEntryData) - ((75 * mePtr->height) / 100); + INT2PTR((75 * mePtr->height) / 100); } } else { *widthPtr = *heightPtr = mePtr->height; if (mePtr->type == CHECK_BUTTON_ENTRY) { mePtr->platformEntryData = (TkMenuPlatformEntryData) - ((80 * mePtr->height) / 100); + INT2PTR((80 * mePtr->height) / 100); } else { mePtr->platformEntryData = (TkMenuPlatformEntryData) - mePtr->height; + INT2PTR(mePtr->height); } } } else { |