summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2002-06-10 17:41:51 (GMT)
committervincentdarley <vincentdarley>2002-06-10 17:41:51 (GMT)
commitffa5cb21c298b67cfc7add97fdd50753c1423e7b (patch)
tree92e1d25eef8bcbd6ce3729719cab535fe73c8c1f /generic/tclIOUtil.c
parente41988bdf21c8f8cd4088031e67e4fdd1793b7b7 (diff)
downloadtcl-ffa5cb21c298b67cfc7add97fdd50753c1423e7b.zip
tcl-ffa5cb21c298b67cfc7add97fdd50753c1423e7b.tar.gz
tcl-ffa5cb21c298b67cfc7add97fdd50753c1423e7b.tar.bz2
fs fixed commit
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index c44687b..f5ee327 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -17,7 +17,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIOUtil.c,v 1.46 2002/06/10 10:41:29 vincentdarley Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.47 2002/06/10 17:41:52 vincentdarley Exp $
*/
#include "tclInt.h"
@@ -4485,11 +4485,11 @@ NativeDupInternalRep(clientData)
len = sizeof(WCHAR) + (wcslen((CONST WCHAR*)clientData) * sizeof(WCHAR));
} else {
/* ansi representation when running on 95/98/ME */
- len = sizeof(CHAR) + (strlen((CONST CHAR*)clientData) * sizeof(CHAR));
+ len = sizeof(char) + (strlen((CONST char*)clientData) * sizeof(char));
}
#else
/* ansi representation when running on Unix/MacOS */
- len = sizeof(CHAR) + (strlen((CONST CHAR*)clientData) * sizeof(CHAR));
+ len = sizeof(char) + (strlen((CONST char*)clientData) * sizeof(char));
#endif
copy = (ClientData) ckalloc(len);