summaryrefslogtreecommitdiff
path: root/wq.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-01 23:20:34 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-01 23:20:34 -0700
commitd50db4361a57062f9c0c0a1c6c18d296e11dd4bf (patch)
treee7422351ca0dbccef4514ef89898e166658bdeb2 /wq.h
parent02f145f175894399fed33992e4e7e5a87d7e7a2a (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wq.h b/wq.h
index 58c062e..2a54346 100644
--- a/wq.h
+++ b/wq.h
@@ -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 */