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/tclOOBasic.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/tclOOBasic.c')
-rw-r--r-- | generic/tclOOBasic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclOOBasic.c b/generic/tclOOBasic.c index 887e80c..8be8773 100644 --- a/generic/tclOOBasic.c +++ b/generic/tclOOBasic.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclOOBasic.c,v 1.16 2008/12/02 19:40:41 dgp Exp $ + * RCS: @(#) $Id: tclOOBasic.c,v 1.17 2009/02/10 22:49:55 nijtmans Exp $ */ #ifdef HAVE_CONFIG_H @@ -942,7 +942,7 @@ TclOOCopyObjectCmd( if (objc == 2) { o2Ptr = Tcl_CopyObjectInstance(interp, oPtr, NULL, NULL); } else { - char *name; + const char *name; Tcl_DString buffer; name = TclGetString(objv[2]); |