summaryrefslogtreecommitdiff
path: root/src/sm_process.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-09 17:24:16 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-09 17:24:16 -0700
commit95cb4dcd618774b3f7b5b915c5ce5aa72f853b53 (patch)
tree5855871af9beca9549fe978bac71434e53f3828f /src/sm_process.c
parent5a06ff257f72a629539f23b35026fbcdb8bb372e (diff)
downloadxorg-lib-libSM-95cb4dcd618774b3f7b5b915c5ce5aa72f853b53.tar.gz
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.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); \