git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Unix CM: Don't cast allocator returns
[openafs.git]
/
src
/
afs
/
OBSD
/
osi_vcache.c
diff --git
a/src/afs/OBSD/osi_vcache.c
b/src/afs/OBSD/osi_vcache.c
index
6598cea
..
f6e4fca
100644
(file)
--- a/
src/afs/OBSD/osi_vcache.c
+++ b/
src/afs/OBSD/osi_vcache.c
@@
-37,7
+37,7
@@
struct vcache *
osi_NewVnode(void) {
struct vcache *tvc;
- tvc = (struct vcache *)afs_osi_Alloc(sizeof(struct vcache));
+ tvc = afs_osi_Alloc(sizeof(struct vcache));
tvc->v = NULL; /* important to clean this, or use memset 0 */
return tvc;