From a68abf7a4eeb0667fa067a73e4560b8666e7172a Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 22 Jul 2010 11:34:24 -0500 Subject: [PATCH] AFS_INT64_FMT takes a afs_int64, not int64_t Cast to afs_int64, as int64_t can reduce to a different type than AFS_INT64_FMT's. Change-Id: I77ffe8813fbef284e6e91db25804d95d73898b54 Reviewed-on: http://gerrit.openafs.org/2466 Tested-by: Andrew Deason Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/vol/namei_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vol/namei_ops.c b/src/vol/namei_ops.c index dc4cd8f20e..e2084707ec 100644 --- a/src/vol/namei_ops.c +++ b/src/vol/namei_ops.c @@ -738,7 +738,7 @@ namei_dec(IHandle_t * ih, Inode ino, int p1) IHandle_t *th; IH_INIT(th, ih->ih_dev, ih->ih_vid, ino); Log("Warning: Lost ref on ihandle dev %d vid %d ino %" AFS_INT64_FMT "\n", - th->ih_dev, th->ih_vid, (int64_t) th->ih_ino); + th->ih_dev, th->ih_vid, (afs_int64)th->ih_ino); IH_RELEASE(th); /* If we're less than 0, someone presumably unlinked;