From ba65e13ee1b52bdf4931e1ad74d6c0aedccc734d Mon Sep 17 00:00:00 2001 From: "pius.lee" Date: Tue, 10 Feb 2015 13:20:07 +0900 Subject: [PATCH] [Common] fix typeutil widl longlong typchecking Change-Id: If9e45ce884e97b687e83a2d0f64371e8fd03ca00 Signed-off-by: pius.lee --- src/common/typeutil.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/typeutil.h b/src/common/typeutil.h index e46e3540..bb260a1b 100644 --- a/src/common/typeutil.h +++ b/src/common/typeutil.h @@ -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 -- 2.34.1