Whamcloud - gitweb
Update to HEAD
authorgreen <green>
Mon, 26 Apr 2004 17:50:01 +0000 (17:50 +0000)
committergreen <green>
Mon, 26 Apr 2004 17:50:01 +0000 (17:50 +0000)
lnet/utils/wirecheck.c
lustre/portals/utils/wirecheck.c

index a73a521..6316290 100644 (file)
@@ -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)                \
index a73a521..6316290 100644 (file)
@@ -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)                \