diff options
author | nijtmans <nijtmans@noemail.net> | 2009-02-10 22:49:41 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2009-02-10 22:49:41 (GMT) |
commit | 228226b45f89df593f47066d1f2add74e5422610 (patch) | |
tree | ca3baf5495ef51e4e0ad8aa5ed4221b784f68ae6 /generic/tclEncoding.c | |
parent | ab9feb37566d10eecd1f998f2b01445ceca39839 (diff) | |
download | tcl-228226b45f89df593f47066d1f2add74e5422610.zip tcl-228226b45f89df593f47066d1f2add74e5422610.tar.gz tcl-228226b45f89df593f47066d1f2add74e5422610.tar.bz2 |
- eliminate some unnessary type casts
- some internal const decorations
- spacing
FossilOrigin-Name: 160bcb11525977fb1ee14ae1e09ba9cb60b29920
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r-- | generic/tclEncoding.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c index 843d46c..441e099 100644 --- a/generic/tclEncoding.c +++ b/generic/tclEncoding.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclEncoding.c,v 1.65 2008/10/27 19:08:53 dgp Exp $ + * RCS: @(#) $Id: tclEncoding.c,v 1.66 2009/02/10 22:49:55 nijtmans Exp $ */ #include "tclInt.h" @@ -1727,7 +1727,7 @@ LoadTableEncoding( Tcl_IncrRefCount(objPtr); for (i = 0; i < numPages; i++) { int ch; - char *p; + const char *p; Tcl_ReadChars(chan, objPtr, 3 + 16 * (16 * 4 + 1), 0); p = Tcl_GetString(objPtr); @@ -3494,7 +3494,7 @@ InitializeEncodingSearchPath( int *lengthPtr, Tcl_Encoding *encodingPtr) { - char *bytes; + const char *bytes; int i, numDirs, numBytes; Tcl_Obj *libPath, *encodingObj, *searchPath; |