From: Andrew Deason Date: Thu, 22 Jul 2010 16:34:24 +0000 (-0500) Subject: AFS_INT64_FMT takes a afs_int64, not int64_t X-Git-Tag: openafs-devel-1_5_76~75 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a68abf7a4eeb0667fa067a73e4560b8666e7172a;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/vol/namei_ops.c b/src/vol/namei_ops.c index dc4cd8f20..e2084707e 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;