diff options
Diffstat (limited to 'src/libipulog_compat.c')
-rw-r--r-- | src/libipulog_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libipulog_compat.c b/src/libipulog_compat.c index 9d93bcd..fbcf8e5 100644 --- a/src/libipulog_compat.c +++ b/src/libipulog_compat.c @@ -90,7 +90,7 @@ struct ipulog_handle *ipulog_create_handle(u_int32_t gmask, struct ipulog_handle *h; unsigned int group = gmask2group(gmask); - h = (struct ipulog_handle *) malloc(sizeof(*h)+PAYLOAD_SIZE); + h = malloc(sizeof(*h)+PAYLOAD_SIZE); if (! h) { ipulog_errno = IPULOG_ERR_HANDLE; return NULL; |