Bug 2138 - Add correct type suffixes to large constants. CompilerCompatibility
authorPeter Fordham <peter.fordham@gmail.com>
Thu, 04 Mar 2010 15:18:13 -0800
branchCompilerCompatibility
changeset 50 4bb128803766
parent 49 4c02a47fcdfc
child 51 ee8307949dae
Bug 2138 - Add correct type suffixes to large constants.
webengine/osswebengine/JavaScriptCore/wtf/symbian/limits
--- 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;
     };
 }