summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2003-04-15 03:43:25 (GMT)
committerdgp <dgp@users.sourceforge.net>2003-04-15 03:43:25 (GMT)
commitf47d69d50d671564340bd40cc1de64af08dfa3d5 (patch)
tree695369e0d0d1a83c30d52358b0ab8ce3ff31831c /generic/tclTest.c
parent2a5e8ea0fe0425bc720720143368245aa5a28ff9 (diff)
downloadtcl-f47d69d50d671564340bd40cc1de64af08dfa3d5.zip
tcl-f47d69d50d671564340bd40cc1de64af08dfa3d5.tar.gz
tcl-f47d69d50d671564340bd40cc1de64af08dfa3d5.tar.bz2
Stopped compiler warnings about type casts.
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r--generic/tclTest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 852a2d1..d5370d6 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclTest.c,v 1.65 2003/04/11 15:59:58 vincentdarley Exp $
+ * RCS: @(#) $Id: tclTest.c,v 1.66 2003/04/15 03:43:25 dgp Exp $
*/
#define TCL_TEST
@@ -3357,7 +3357,7 @@ TestregexpObjCmd(dummy, interp, objc, objv)
Tcl_RegExpGetInfo(regExpr, &info);
varName = Tcl_GetString(objv[2]);
- sprintf(resinfo, "%d", info.extendStart);
+ sprintf(resinfo, "%ld", info.extendStart);
value = Tcl_SetVar(interp, varName, resinfo, 0);
if (value == NULL) {
Tcl_AppendResult(interp, "couldn't set variable \"",