Add the final L in the long ints
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 5 Feb 2009 12:04:37 +0000 (12:04 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 5 Feb 2009 12:04:37 +0000 (12:04 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2269 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BModulePage.py

index c98ce937ac6140efc2f2857f176089c0c3b15641..83a2375f6d5814a73e01a1cb4671003491ce0111 100644 (file)
@@ -107,8 +107,8 @@ class BModulePage(BWizardPage):
                     maximmum = 32767
                     suff = ""
                 elif bertos_utils.isLong(configurations[property]):
-                    minimum = -2147483648
-                    maximum = 2147483647
+                    minimum = -2147483648L
+                    maximum = 2147483647L
                     suff = "L"
                 elif bertos_utils.isUnsigned(configurations[property]):
                     minimum = 0
@@ -116,7 +116,7 @@ class BModulePage(BWizardPage):
                     suff = "U"
                 elif bertos_utils.isUnsignedLong(configurations[property]):
                     minimum = 0
-                    maximum = 4294967295
+                    maximum = 4294967295L
                     suff = "UL"
                 if "min" in configurations[property]["informations"].keys():
                     minimum = int(configurations[property]["informations"]["min"])