diff options
| author | dgp@users.sourceforge.net <dgp> | 2003-04-15 03:43:25 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2003-04-15 03:43:25 (GMT) |
| commit | 72d415a00531c9b71b25b15d710f1c76a0a3a496 (patch) | |
| tree | 695369e0d0d1a83c30d52358b0ab8ce3ff31831c /generic/tclTest.c | |
| parent | c02be539384437f3f48cd49dfd70acc289e774c6 (diff) | |
| download | tcl-72d415a00531c9b71b25b15d710f1c76a0a3a496.zip tcl-72d415a00531c9b71b25b15d710f1c76a0a3a496.tar.gz tcl-72d415a00531c9b71b25b15d710f1c76a0a3a496.tar.bz2 | |
Stopped compiler warnings about type casts.
Diffstat (limited to 'generic/tclTest.c')
| -rw-r--r-- | generic/tclTest.c | 4 |
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 \"", |
