diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-01 23:20:34 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-01 23:20:34 -0700 |
commit | d50db4361a57062f9c0c0a1c6c18d296e11dd4bf (patch) | |
tree | e7422351ca0dbccef4514ef89898e166658bdeb2 /wq.h | |
parent | 02f145f175894399fed33992e4e7e5a87d7e7a2a (diff) |
Remove unneeded casts on malloc, realloc, and free calls
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'wq.h')
-rw-r--r-- | wq.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ extern struct modtab { int value; } modifier_table[]; -#define AllocStruct(s) ((s *) malloc (sizeof (s))) +#define AllocStruct(s) (malloc (sizeof (s))) #define MAXKEYSYMNAMESIZE 80 /* absurdly large */ |