[Common] fix typeutil widl longlong typchecking
authorpius.lee <pius.lee@samsung.com>
Tue, 10 Feb 2015 04:20:07 +0000 (13:20 +0900)
committerpius.lee <pius.lee@samsung.com>
Tue, 10 Feb 2015 04:20:07 +0000 (13:20 +0900)
Change-Id: If9e45ce884e97b687e83a2d0f64371e8fd03ca00
Signed-off-by: pius.lee <pius.lee@samsung.com>
src/common/typeutil.h

index e46e35409cc12d7816b17391bd9a09ec250de0d0..bb260a1b0d0fd79e847c61ca3a1fabdd12e4d19b 100644 (file)
@@ -62,8 +62,8 @@ IS_TYPE_RANGE(ByteType, -128, 127)
 IS_TYPE_RANGE(OctetType, 0, 255)
 IS_TYPE_RANGE(ShortType, -32768, 32767)
 IS_TYPE_RANGE(UnsignedShortType, 0, 65535)
-IS_TYPE_RANGE(LongType, -2147483648L, 2147483647L)
-IS_TYPE_RANGE(UnsignedLongType, 0, 4294967295U)
+IS_TYPE_RANGE(LongType, -2147483648L, 2147483647LL)
+IS_TYPE_RANGE(UnsignedLongType, 0, 4294967295ULL)
 IS_TYPE_RANGE(LongLongType, -9223372036854775807LL, 9223372036854775807LL)
 IS_TYPE_RANGE(UnsignedLongLongType, 0, 18446744073709551615ULL)
 #undef IS_TYPE_RANGE