Bug 2138 - Add correct type suffixes to large constants.
--- a/webengine/osswebengine/JavaScriptCore/wtf/symbian/limits Thu Mar 04 14:02:57 2010 -0800
+++ b/webengine/osswebengine/JavaScriptCore/wtf/symbian/limits Thu Mar 04 15:18:13 2010 -0800
@@ -57,15 +57,15 @@
template<>
struct numeric_limits<long long>
{
- static long long min() { return -9223372036854775807; }
- static long long max() { return 9223372036854775807; }
+ static long long min() { return -9223372036854775807LL; }
+ static long long max() { return 9223372036854775807LL; }
static const bool is_signed = true;
};
template<>
struct numeric_limits<unsigned long long>
{
- static unsigned long long max() { return 18446744073709551615; }
+ static unsigned long long max() { return 18446744073709551615ULL; }
static const bool is_signed = false;
};
}