]> git.pond.sub.org Git - empserver/blobdiff - src/lib/lwp/sem.c
Remove a bunch of redundant casts.
[empserver] / src / lib / lwp / sem.c
index b6bd8df4ca92838feae256f5bae8ecc00d87f540..0557222146d7d7b5460e46ea3264e2a1dab1e7fa 100644 (file)
@@ -42,7 +42,7 @@ lwpCreateSem(char *name, int count)
 {
     struct lwpSem *new;
 
-    if (!(new = (struct lwpSem *)malloc(sizeof(struct lwpSem))))
+    if (!(new = malloc(sizeof(struct lwpSem))))
        return (0);
     new->name = strdup(name);
     new->count = count;