summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2007-04-17 14:36:49 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2007-04-17 14:36:49 (GMT)
commit77430f07bb5d04e20219b2be777145945d098d8c (patch)
tree086a9c3b5d584ff0ea58372ca53ae3a0cdba445e /generic/tkEntry.c
parentd5299ae7e5bdd3f8bd2a705b35966cf49e970eb6 (diff)
downloadtk-77430f07bb5d04e20219b2be777145945d098d8c.zip
tk-77430f07bb5d04e20219b2be777145945d098d8c.tar.gz
tk-77430f07bb5d04e20219b2be777145945d098d8c.tar.bz2
Eliminate use of (VOID*) casts when calling memset or memcpy.
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r--generic/tkEntry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkEntry.c b/generic/tkEntry.c
index 2f19050..0ef4bc8 100644
--- a/generic/tkEntry.c
+++ b/generic/tkEntry.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkEntry.c,v 1.42 2007/01/03 05:06:26 nijtmans Exp $
+ * RCS: @(#) $Id: tkEntry.c,v 1.43 2007/04/17 14:36:49 dkf Exp $
*/
#include "tkInt.h"
@@ -509,7 +509,7 @@ Tk_EntryObjCmd(
*/
entryPtr = (Entry *) ckalloc(sizeof(Entry));
- memset((VOID *) entryPtr, 0, sizeof(Entry));
+ memset(entryPtr, 0, sizeof(Entry));
entryPtr->tkwin = tkwin;
entryPtr->display = Tk_Display(tkwin);
@@ -3523,7 +3523,7 @@ Tk_SpinboxObjCmd(
sbPtr = (Spinbox *) ckalloc(sizeof(Spinbox));
entryPtr = (Entry *) sbPtr;
- memset((VOID *) sbPtr, 0, sizeof(Spinbox));
+ memset(sbPtr, 0, sizeof(Spinbox));
entryPtr->tkwin = tkwin;
entryPtr->display = Tk_Display(tkwin);