From: green Date: Mon, 26 Apr 2004 17:50:01 +0000 (+0000) Subject: Update to HEAD X-Git-Tag: v1_7_100~1^71~8 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=7e25e96efbe989ce460843687b31af6d832763d6;p=fs%2Flustre-release.git Update to HEAD --- diff --git a/lnet/utils/wirecheck.c b/lnet/utils/wirecheck.c index a73a5217..6316290 100644 --- a/lnet/utils/wirecheck.c +++ b/lnet/utils/wirecheck.c @@ -34,7 +34,7 @@ do { \ #define CHECK_MEMBER_OFFSET(s,m) \ do { \ - CHECK_VALUE(offsetof(s, m)); \ + CHECK_VALUE((int)offsetof(s, m)); \ } while (0) #define CHECK_MEMBER_SIZEOF(s,m) \ diff --git a/lustre/portals/utils/wirecheck.c b/lustre/portals/utils/wirecheck.c index a73a5217..6316290 100644 --- a/lustre/portals/utils/wirecheck.c +++ b/lustre/portals/utils/wirecheck.c @@ -34,7 +34,7 @@ do { \ #define CHECK_MEMBER_OFFSET(s,m) \ do { \ - CHECK_VALUE(offsetof(s, m)); \ + CHECK_VALUE((int)offsetof(s, m)); \ } while (0) #define CHECK_MEMBER_SIZEOF(s,m) \