summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2004-02-20 20:44:47 (GMT)
committerdgp <dgp@noemail.net>2004-02-20 20:44:47 (GMT)
commit7a6b5a2c535abb3fced3694fbe231efa489ba465 (patch)
treee68d8cea5e0a95f413e57123d38120be9693417b /generic/tclTest.c
parenta531dd8d644485976aa77d65452d787709af66b3 (diff)
downloadtcl-7a6b5a2c535abb3fced3694fbe231efa489ba465.zip
tcl-7a6b5a2c535abb3fced3694fbe231efa489ba465.tar.gz
tcl-7a6b5a2c535abb3fced3694fbe231efa489ba465.tar.bz2
stop compiler warning
FossilOrigin-Name: a5c4c97273776d5339eb893bcf180b1dff1da518
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 835c602..d0b2bab 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.62.2.5 2003/11/17 18:12:08 dgp Exp $
+ * RCS: @(#) $Id: tclTest.c,v 1.62.2.6 2004/02/20 20:44:47 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 \"",