Unix CM: Don't cast allocator returns
[openafs.git] / src / afs / OBSD / osi_vcache.c
index 6598cea..f6e4fca 100644 (file)
@@ -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;