diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-04-17 14:49:53 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-04-17 14:49:53 (GMT) |
commit | 7ab521d768effeec66e8d06abf0067ce0652a57f (patch) | |
tree | d38a0997ec4141e501a5f19512dfe1445d8c4404 /generic/tclAlloc.c | |
parent | 3943396d1d7a64194d6babf11bbf7db8ab76be16 (diff) | |
download | tcl-7ab521d768effeec66e8d06abf0067ce0652a57f.zip tcl-7ab521d768effeec66e8d06abf0067ce0652a57f.tar.gz tcl-7ab521d768effeec66e8d06abf0067ce0652a57f.tar.bz2 |
Eliminate use of (VOID*) casts when calling memset or memcpy.
Diffstat (limited to 'generic/tclAlloc.c')
-rw-r--r-- | generic/tclAlloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclAlloc.c b/generic/tclAlloc.c index b51084d..df6db05 100644 --- a/generic/tclAlloc.c +++ b/generic/tclAlloc.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclAlloc.c,v 1.23 2005/11/01 15:30:52 dkf Exp $ + * RCS: @(#) $Id: tclAlloc.c,v 1.24 2007/04/17 14:49:53 dkf Exp $ */ /* @@ -615,7 +615,7 @@ TclpRealloc( if (maxSize < numBytes) { numBytes = maxSize; } - memcpy((VOID *) newPtr, (VOID *) oldPtr, (size_t) numBytes); + memcpy(newPtr, oldPtr, (size_t) numBytes); TclpFree(oldPtr); return newPtr; } |