Don't cast arguments to free()
[openafs.git] / src / volser / dumpstuff.c
index 91f725c..be52de2 100644 (file)
@@ -1295,9 +1295,9 @@ RestoreVolume(struct rx_call *call, Volume * avp, int incremental,
   out:
     /* Free the malloced space above */
     if (b1)
-       free((char *)b1);
+       free(b1);
     if (b2)
-       free((char *)b2);
+       free(b2);
     return error;
 }