diff options
author | dgp <dgp@users.sourceforge.net> | 2002-01-26 01:10:08 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-01-26 01:10:08 (GMT) |
commit | 107d41756017e763fb66994fb0ba6072b20a7d2b (patch) | |
tree | e98bf2d4819a5270b97f764736441c86b9eb51e3 /mac/tclMacResource.c | |
parent | 727dc02ba3e05c4df81068bc3fd0ac3a8c98328b (diff) | |
download | tcl-107d41756017e763fb66994fb0ba6072b20a7d2b.zip tcl-107d41756017e763fb66994fb0ba6072b20a7d2b.tar.gz tcl-107d41756017e763fb66994fb0ba6072b20a7d2b.tar.bz2 |
* Sought out and eliminated instances of CONST-casting that are no
longer needed after the TIP 27 effort.
Diffstat (limited to 'mac/tclMacResource.c')
-rw-r--r-- | mac/tclMacResource.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mac/tclMacResource.c b/mac/tclMacResource.c index 858bc1e..4e29420 100644 --- a/mac/tclMacResource.c +++ b/mac/tclMacResource.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: tclMacResource.c,v 1.10 2002/01/25 20:40:56 dgp Exp $ + * RCS: @(#) $Id: tclMacResource.c,v 1.11 2002/01/26 01:10:08 dgp Exp $ */ #include <Errors.h> @@ -1974,7 +1974,7 @@ TclMacRegisterResourceFork( if (tokenPtr != NULL) { char *tokenVal; int length; - tokenVal = (char *) Tcl_GetStringFromObj(tokenPtr, &length); + tokenVal = Tcl_GetStringFromObj(tokenPtr, &length); if (length > 0) { nameHashPtr = Tcl_FindHashEntry(&nameTable, tokenVal); if (nameHashPtr == NULL) { @@ -2191,7 +2191,7 @@ BuildResourceForkList() Tcl_SetStringObj(nameObj, "ROM Map", -1); } else { p2cstr((StringPtr) fileName); - if (strcmp(fileName,(char *) appName) == 0) { + if (strcmp(fileName,appName) == 0) { Tcl_SetStringObj(nameObj, "application", -1); } else { Tcl_SetStringObj(nameObj, fileName, -1); |