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 <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2010-07-22 11:34:24 -05:00 committed by Derrick Brashear
parent 3d1fd051b6
commit a68abf7a4e

View File

@ -738,7 +738,7 @@ namei_dec(IHandle_t * ih, Inode ino, int p1)
IHandle_t *th; IHandle_t *th;
IH_INIT(th, ih->ih_dev, ih->ih_vid, ino); 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", 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); IH_RELEASE(th);
/* If we're less than 0, someone presumably unlinked; /* If we're less than 0, someone presumably unlinked;