diff options
| author | dgp@users.sourceforge.net <dgp> | 2003-11-17 15:23:10 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2003-11-17 15:23:10 (GMT) |
| commit | fa5455701896dec092b9e4f019ee533bf0c5e8ca (patch) | |
| tree | ffdba3b3998750cc9439a360150f8401b599a7c2 /generic/tclCompile.c | |
| parent | 3e95c4c2a8b0092751ab9c9bfe0f9699b3dcdb3f (diff) | |
| download | tcl-fa5455701896dec092b9e4f019ee533bf0c5e8ca.zip tcl-fa5455701896dec092b9e4f019ee533bf0c5e8ca.tar.gz tcl-fa5455701896dec092b9e4f019ee533bf0c5e8ca.tar.bz2 | |
Added cast to suppress compiler warning.
Diffstat (limited to 'generic/tclCompile.c')
| -rw-r--r-- | generic/tclCompile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index ee1a8a9..d687fbe 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompile.c,v 1.52 2003/11/14 20:44:44 dgp Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.53 2003/11/17 15:23:10 dgp Exp $ */ #include "tclInt.h" @@ -931,7 +931,7 @@ TclCompileScript(interp, script, numBytes, envPtr) */ objIndex = TclRegisterNewLiteral(envPtr, "", 0); TclEmitPush(objIndex, envPtr); - Tcl_DStringAppend(&deltaList, &delta, 1); + Tcl_DStringAppend(&deltaList, (CONST char *)&delta, 1); delta = 1; } |
