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

--- Tk/generic/tkArgv.c~	1998-01-03 07:46:25.000000000 -0500
+++ Tk/generic/tkArgv.c	2008-09-06 19:25:03.000000000 -0400
@@ -178,7 +178,7 @@ Tk_ParseArgv(interp, tkwin, argcPtr, arg
 	infoPtr = matchPtr;
 	switch (infoPtr->type) {
 	    case TK_ARGV_CONSTANT:
-		*((int *) infoPtr->dst) = (int) infoPtr->src;
+		*((intptr_t *) infoPtr->dst) = (intptr_t) infoPtr->src;
 		break;
 	    case TK_ARGV_INT:
 		if (argc == 0) {