summaryrefslogtreecommitdiff
path: root/lang/STk/patches/patch-ar
blob: 948a7278471c73bdec37d4dc3b4ed7011803a34a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ar,v 1.1 2008/09/07 00:23:58 dholland Exp $

--- Tk/generic/tkCursor.c~	1998-01-03 07:46:25.000000000 -0500
+++ Tk/generic/tkCursor.c	2008-09-06 19:26:43.000000000 -0400
@@ -288,7 +288,7 @@ Tk_NameOfCursor(display, cursor)
 
     if (!initialized) {
 	printid:
-	sprintf(string, "cursor id 0x%x", (unsigned int) cursor);
+	sprintf(string, "cursor id 0x%lx", (unsigned long) cursor);
 	return string;
     }
     idKey.display = display;