From: Jim Rees Date: Thu, 26 Jan 2006 18:11:23 +0000 (+0000) Subject: cast-pointer-20060126 X-Git-Tag: openafs-devel-1_5_0~66 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1fb654e0c02ab6ca90d531a250639ecda6cea5e2;p=packages%2Fo%2Fopenafs.git cast-pointer-20060126 Cast pointer to long for printf. "%p" would be a better fix, but is it supported on all platforms? --- diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index fbb7a5bcf..c338957f6 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -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)