summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTest.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 /unix/tclUnixTest.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 'unix/tclUnixTest.c')
-rw-r--r--unix/tclUnixTest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixTest.c b/unix/tclUnixTest.c
index eb339aa..acfa5fc 100644
--- a/unix/tclUnixTest.c
+++ b/unix/tclUnixTest.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: tclUnixTest.c,v 1.24 2007/04/16 13:36:36 dkf Exp $
+ * RCS: @(#) $Id: tclUnixTest.c,v 1.25 2007/04/17 14:49:53 dkf Exp $
*/
#include "tclInt.h"
@@ -275,7 +275,7 @@ TestfilehandlerCmd(
return TCL_ERROR;
}
- memset((VOID *) buffer, 'a', 4000);
+ memset(buffer, 'a', 4000);
while (write(GetFd(pipePtr->writeFile), buffer, 4000) > 0) {
/* Empty loop body. */
}
@@ -288,7 +288,7 @@ TestfilehandlerCmd(
return TCL_ERROR;
}
- memset((VOID *) buffer, 'b', 10);
+ memset(buffer, 'b', 10);
TclFormatInt(buf, write(GetFd(pipePtr->writeFile), buffer, 10));
Tcl_SetResult(interp, buf, TCL_VOLATILE);
} else if (strcmp(argv[1], "oneevent") == 0) {