cast-pointer-20060126

Cast pointer to long for printf.
"%p" would be a better fix, but is it supported on all platforms?
This commit is contained in:
Jim Rees 2006-01-26 18:11:23 +00:00
parent 532147e455
commit 1fb654e0c0

View File

@ -600,7 +600,7 @@ afs_FlushReclaimedVcaches(void)
We probably need a way to be smarter about this. */
tvc->nextfree = tmpReclaimedVCList;
tmpReclaimedVCList = tvc;
printf("Reclaim list flush %x failed: %d\n", tvc, code);
printf("Reclaim list flush %lx failed: %d\n", (unsigned long) tvc, code);
}
}
if (tmpReclaimedVCList)