Don't cast the return from calloc()
[openafs.git] / src / vfsck / utilities.c
index 1249bcb..19f6dc5 100644 (file)
@@ -936,7 +936,7 @@ hasvfsopt(vfs, opt)
     if (vfs->vfs_mntopts == NULL)
        return (NULL);
     if (tmpopts == 0) {
-       tmpopts = (char *)calloc(256, sizeof(char));
+       tmpopts = calloc(256, sizeof(char));
        if (tmpopts == 0)
            return (0);
     }