X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fportals%2Futils%2Fwirecheck.c;h=631629075a4fda204525e2f59219b214eafab2a8;hb=2dc9c16e770415d56839e1996015fec5fab93f29;hp=a73a521763a356c1c119a5dcfaa585b5577fb0d9;hpb=090c677210ee2946d99c71412e4ff762bb300f4f;p=fs%2Flustre-release.git 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) \