From: duplo Date: Thu, 5 Feb 2009 12:04:37 +0000 (+0000) Subject: Add the final L in the long ints X-Git-Tag: 2.1.0~413 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a2a182c7d2ea815fdde029258d9c843d7adce2ec;p=bertos.git Add the final L in the long ints git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2269 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index c98ce937..83a2375f 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -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"])