summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehun Jeong <jh4u.jeong@samsung.com>2016-11-02 14:26:40 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-12-13 12:59:30 +0900
commit7df1602b129bd56916aaa6037a9cb84e1bdd77d4 (patch)
tree9cb66dd44591eee5fadc177fa0eec2471b5767d0
parent5b56bd67c8ad4362c62c08cbe09d76f8db558638 (diff)
downloadlzop-7df1602b129bd56916aaa6037a9cb84e1bdd77d4.tar.gz
lzop-7df1602b129bd56916aaa6037a9cb84e1bdd77d4.tar.bz2
lzop-7df1602b129bd56916aaa6037a9cb84e1bdd77d4.zip
Change-Id: I53d7b2c50baf7833b8176d8f154d1e47a72f548a Signed-off-by: Jaehun Jeong <jh4u.jeong@samsung.com> Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--src/miniacc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/miniacc.h b/src/miniacc.h
index 9170c23..4c0d210 100644
--- a/src/miniacc.h
+++ b/src/miniacc.h
@@ -4469,12 +4469,12 @@ ACCLIB_EXTERN(int, acc_spawnve) (int mode, const char* fn, const char* const * a
#if defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0150)
#elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
#else
- ACCCHK_ASSERT((1 << (8*SIZEOF_INT-1)) < 0)
+ ACCCHK_ASSERT((int)(1u << (8*SIZEOF_INT-1)) < 0)
#endif
ACCCHK_ASSERT((1u << (8*SIZEOF_INT-1)) > 0)
#if 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
#else
- ACCCHK_ASSERT((1l << (8*SIZEOF_LONG-1)) < 0)
+ ACCCHK_ASSERT((long)(1ul << (8*SIZEOF_LONG-1)) < 0)
#endif
ACCCHK_ASSERT((1ul << (8*SIZEOF_LONG-1)) > 0)
#if defined(acc_int16e_t)
@@ -4703,7 +4703,7 @@ ACCLIB_EXTERN(int, acc_spawnve) (int mode, const char* fn, const char* const * a
#elif 1 && (ACC_CC_LCC || ACC_CC_LCCWIN32) && !defined(ACCCHK_CFG_PEDANTIC)
#elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
#elif !(ACC_BROKEN_INTEGRAL_PROMOTION) && (SIZEOF_INT > 1)
- ACCCHK_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0)
+ ACCCHK_ASSERT( (int)((unsigned int)((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0)
#endif
#if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0530) && (__BORLANDC__ < 0x0560))
# pragma option pop