diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-09 17:24:16 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-09 17:24:16 -0700 |
commit | 95cb4dcd618774b3f7b5b915c5ce5aa72f853b53 (patch) | |
tree | 5855871af9beca9549fe978bac71434e53f3828f /src/sm_process.c | |
parent | 5a06ff257f72a629539f23b35026fbcdb8bb372e (diff) |
Fix some clang warnings about integer size/sign conversions
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/sm_process.c')
-rw-r--r-- | src/sm_process.c | 2 |
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); \ |