From 1fb654e0c02ab6ca90d531a250639ecda6cea5e2 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Thu, 26 Jan 2006 18:11:23 +0000 Subject: [PATCH] cast-pointer-20060126 Cast pointer to long for printf. "%p" would be a better fix, but is it supported on all platforms? --- src/afs/afs_vcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5