Whamcloud - gitweb
Fixing the HEAD build issue related to
authordeshmukh <deshmukh>
Thu, 20 Aug 2009 05:06:49 +0000 (05:06 +0000)
committerdeshmukh <deshmukh>
Thu, 20 Aug 2009 05:06:49 +0000 (05:06 +0000)
BuildRequest 12131: rhel5/x86_64 has FAILED!
This is temp fix, to build head.

lustre/mdc/mdc_request.c

index 994a5c5..db1dc06 100644 (file)
@@ -1190,7 +1190,7 @@ static int mdc_hsm_copytool_send(int len, void *val)
 
         if (len < sizeof(*lh) + sizeof(*hal)) {
                 CERROR("Short HSM message %d < %d\n", len,
-                       sizeof(*lh) + sizeof(*hal));
+                      (int) (sizeof(*lh) + sizeof(*hal)));
                 RETURN(-EPROTO);
         }
         if (lh->lnl_magic == __swab16(LNL_MAGIC)) {