Permalink
Browse files

Unnecessary cast

  • Loading branch information...
1 parent 129f766 commit cad4a85f933c0dd739932a50ef7b8d4bbe75b779 @msantos committed Mar 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 c_src/procket_cmd.c
View
@@ -48,7 +48,7 @@ main(int argc, char *argv[])
int ch = 0;
- IS_NULL(ps = (PROCKET_STATE *)calloc(1, sizeof(PROCKET_STATE)));
+ IS_NULL(ps = calloc(1, sizeof(PROCKET_STATE)));
ps->ip = INADDR_ANY;
ps->backlog = BACKLOG;

0 comments on commit cad4a85

Please sign in to comment.