summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2007-04-17 14:49:52 (GMT)
committerdkf <dkf@noemail.net>2007-04-17 14:49:52 (GMT)
commitc4b6ad1ceb3dd7475f09d4af2f35f31c2ac0d65b (patch)
treed38a0997ec4141e501a5f19512dfe1445d8c4404 /generic/tclFileName.c
parent6b4e4cde646d4f2d4569427d3363a5212b7882c9 (diff)
downloadtcl-c4b6ad1ceb3dd7475f09d4af2f35f31c2ac0d65b.zip
tcl-c4b6ad1ceb3dd7475f09d4af2f35f31c2ac0d65b.tar.gz
tcl-c4b6ad1ceb3dd7475f09d4af2f35f31c2ac0d65b.tar.bz2
Eliminate use of (VOID*) casts when calling memset or memcpy.
FossilOrigin-Name: 45b49489451e09193f60023f5244b0d73a26880e
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r--generic/tclFileName.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c
index 4de4604..6d574aa 100644
--- a/generic/tclFileName.c
+++ b/generic/tclFileName.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclFileName.c,v 1.81 2007/04/10 22:01:57 dkf Exp $
+ * RCS: @(#) $Id: tclFileName.c,v 1.82 2007/04/17 14:49:53 dkf Exp $
*/
#include "tclInt.h"
@@ -580,7 +580,7 @@ Tcl_SplitPath(
for (i = 0; i < *argcPtr; i++) {
Tcl_ListObjIndex(NULL, resultPtr, i, &eltPtr);
str = Tcl_GetStringFromObj(eltPtr, &len);
- memcpy((VOID *) p, (VOID *) str, (size_t) len+1);
+ memcpy(p, str, (size_t) len+1);
p += len+1;
}