git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
backup: Don't cast returns from malloc()
[openafs.git]
/
src
/
bucoord
/
expire.c
diff --git
a/src/bucoord/expire.c
b/src/bucoord/expire.c
index
6ceccc9
..
332bd80
100644
(file)
--- a/
src/bucoord/expire.c
+++ b/
src/bucoord/expire.c
@@
-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);