From b23d86e430d9a077d94c6bc768216eb75bfb1faf Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Fri, 2 Jul 2010 09:10:06 -0400 Subject: [PATCH] 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 --- src/afs/afs_bypasscache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/afs_bypasscache.c b/src/afs/afs_bypasscache.c index 66a374a33c..2d09566a25 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