lwp: Don't cast returns from malloc()
[openafs.git] / src / lwp / iomgr.c
index 8f0a7bc..cbf5232 100644 (file)
@@ -158,7 +158,7 @@ fd_set *IOMGR_AllocFDSet(void)
        iomgrFreeFDSets = iomgrFreeFDSets->next;
     }
     else {
-       t = (struct IOMGR_fd_set *)malloc(sizeof(fd_set));
+       t = malloc(sizeof(fd_set));
     }
     if (!t)
        return (fd_set*)0;