summaryrefslogtreecommitdiff
path: root/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb
diff options
context:
space:
mode:
Diffstat (limited to 'basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb')
-rw-r--r--basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb b/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb
index c660486a5618..a03dadc42095 100644
--- a/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb
+++ b/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb
@@ -9,8 +9,8 @@
Function doUnitTest as Integer
Dim lngDecimal as Long
- lngDecimal = Clng(&H80000000)
- If lngDecimal = -2147483648 Then
+ lngDecimal = Clng(&H7FFFFFFF)
+ If lngDecimal = 2147483647 Then
doUnitTest = 1
Else
doUnitTest = 0