From 7e25e96efbe989ce460843687b31af6d832763d6 Mon Sep 17 00:00:00 2001 From: green Date: Mon, 26 Apr 2004 17:50:01 +0000 Subject: [PATCH] Update to HEAD --- lnet/utils/wirecheck.c | 2 +- lustre/portals/utils/wirecheck.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) \ -- 1.8.3.1