summaryrefslogtreecommitdiff
path: root/src/sm_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sm_process.c')
-rw-r--r--src/sm_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sm_process.c b/src/sm_process.c
index 651ddef..95883b9 100644
--- a/src/sm_process.c
+++ b/src/sm_process.c
@@ -54,7 +54,7 @@ in this Software without prior written authorization from The Open Group.
}
#define CHECK_COMPLETE_SIZE(_iceConn, _majorOp, _minorOp, _expected_len, _actual_len, _pStart, _severity) \
- if (((PADDED_BYTES64((_actual_len)) - SIZEOF (iceMsg)) >> 3) \
+ if (((unsigned long)(PADDED_BYTES64((_actual_len)) - SIZEOF (iceMsg)) >> 3) \
!= _expected_len) \
{ \
_IceErrorBadLength (_iceConn, _majorOp, _minorOp, _severity); \