summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-04-17 14:36:49 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-04-17 14:36:49 (GMT)
commit71807b8a629a1628286b5dd2858f0e3df2ada2fa (patch)
tree086a9c3b5d584ff0ea58372ca53ae3a0cdba445e /generic/tkEntry.c
parentc86de1b46e1f322ca4ad49bfda61f8101314fb41 (diff)
downloadtk-71807b8a629a1628286b5dd2858f0e3df2ada2fa.zip
tk-71807b8a629a1628286b5dd2858f0e3df2ada2fa.tar.gz
tk-71807b8a629a1628286b5dd2858f0e3df2ada2fa.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);