diff options
Diffstat (limited to 'generic/tkCursor.c')
-rw-r--r-- | generic/tkCursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCursor.c b/generic/tkCursor.c index 76bbc89..6bdfa9d 100644 --- a/generic/tkCursor.c +++ b/generic/tkCursor.c @@ -425,7 +425,7 @@ Tk_NameOfCursor( if (!dispPtr->cursorInit) { printid: - sprintf(dispPtr->cursorString, "cursor id %p", cursor); + sprintf(dispPtr->cursorString, "cursor id 0x%" TCL_Z_MODIFIER "x", (size_t)cursor); return dispPtr->cursorString; } idHashPtr = Tcl_FindHashEntry(&dispPtr->cursorIdTable, cursor); |