backup: Don't cast returns from malloc()
[openafs.git] / src / bucoord / expire.c
index 6ceccc9..332bd80 100644 (file)
@@ -418,7 +418,7 @@ bc_ParseExpiration(struct cmd_parmdesc *paramPtr, afs_int32 *expType,
     if (length == 0)           /* no actual date string */
        FAIL(1);
 
-    dateString = (char *)malloc(length);
+    dateString = malloc(length);
     if (dateString == 0)
        FAIL(2);