From: Marc Dionne Date: Fri, 2 Jul 2010 13:10:06 +0000 (-0400) Subject: Linux: cache bypass: warning fix in afs_bypasscache.c X-Git-Tag: openafs-devel-1_5_75~11 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=b23d86e430d9a077d94c6bc768216eb75bfb1faf Linux: cache bypass: warning fix in afs_bypasscache.c Cast the printf argument to int to match the format specifier. Change-Id: I4300c8a407c99c40e116a6e166a76112fb92d254 Reviewed-on: http://gerrit.openafs.org/2323 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs_bypasscache.c b/src/afs/afs_bypasscache.c index 66a374a..2d09566 100644 --- a/src/afs/afs_bypasscache.c +++ b/src/afs/afs_bypasscache.c @@ -333,7 +333,7 @@ afs_NoCacheFetchProc(register struct rx_call *acall, if (code != sizeof(afs_int32)) { result = 0; afs_warn("Preread error. code: %d instead of %d\n", - code, sizeof(afs_int32)); + code, (int)sizeof(afs_int32)); unlock_and_release_pages(auio); goto done; } else