summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-11-09 22:31:36 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-11-09 22:36:08 +0100
commit83811f719502e30a2a7b1bb780280258600f84f3 (patch)
treeb5f7c42f01c969d1f1b874c1054eabfaac5e3fdd /src
parenta729bb44a14f78f12edb09ae76ce04dbc171c266 (diff)
src: remove redundant casts
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 7a4f8d0..448a5f1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -18,7 +18,7 @@ struct nfct_handle *nfct_open_nfnl(struct nfnl_handle *nfnlh,
{
struct nfct_handle *cth;
- cth = (struct nfct_handle *) malloc(sizeof(struct nfct_handle));
+ cth = malloc(sizeof(struct nfct_handle));
if (!cth)
return NULL;