diff options
author | das <das@noemail.net> | 2007-10-15 07:24:47 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2007-10-15 07:24:47 (GMT) |
commit | 64cdd06060415745a7f9ae3c4cd946d19b77cb1c (patch) | |
tree | 67915c083365997a60c6f2e4622f437540598f6d /generic/tkCursor.c | |
parent | fe86234b4a3052934cb8eadbce1d1c4bdd17b09a (diff) | |
download | tk-64cdd06060415745a7f9ae3c4cd946d19b77cb1c.zip tk-64cdd06060415745a7f9ae3c4cd946d19b77cb1c.tar.gz tk-64cdd06060415745a7f9ae3c4cd946d19b77cb1c.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
FossilOrigin-Name: a5a2868bd786806ab6e48d4de625258a70129d94
Diffstat (limited to 'generic/tkCursor.c')
-rw-r--r-- | generic/tkCursor.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tkCursor.c b/generic/tkCursor.c index 2b67017..0b4fe99 100644 --- a/generic/tkCursor.c +++ b/generic/tkCursor.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkCursor.c,v 1.16 2007/09/07 00:34:52 dgp Exp $ + * RCS: @(#) $Id: tkCursor.c,v 1.17 2007/10/15 07:24:48 das Exp $ */ #include "tkInt.h" @@ -421,8 +421,7 @@ Tk_NameOfCursor( if (!dispPtr->cursorInit) { printid: - sprintf(dispPtr->cursorString, "cursor id 0x%x", - (unsigned int) cursor); + sprintf(dispPtr->cursorString, "cursor id %p", cursor); return dispPtr->cursorString; } idHashPtr = Tcl_FindHashEntry(&dispPtr->cursorIdTable, (char *) cursor); |