diff --git a/lustre/fid/fid_store.c b/lustre/fid/fid_store.c
index b208e595cfee9f16c94178bec025e050674b0773..773a6229e0d6fc00062c26511a7a194e19afac55 100644
--- a/lustre/fid/fid_store.c
+++ b/lustre/fid/fid_store.c
@@ -133,10 +133,10 @@ int seq_store_read(struct lu_server_seq *seq,
                 rc = -ENODATA;
         } else if (rc >= 0) {
                 CERROR("%s: Read only %d bytes of %d\n", seq->lss_name,
-                       rc, sizeof(info->sti_space));
+                       rc, (int)sizeof(info->sti_space));
                 rc = -EIO;
         }
-	
+
 	RETURN(rc);
 }