C90-compliant negative LONG_MIN
diff --git a/tests/90-cond-int-type-OK.asn1.-P b/tests/90-cond-int-type-OK.asn1.-P
index 431e42c..5055e4d 100644
--- a/tests/90-cond-int-type-OK.asn1.-P
+++ b/tests/90-cond-int-type-OK.asn1.-P
@@ -1754,7 +1754,7 @@
value = *(const long *)sptr;
- if((value >= -2147483648 && value <= 2147483647)) {
+ if((value >= (-2147483647L - 1) && value <= 2147483647)) {
/* Constraint check succeeded */
return 0;
} else {
@@ -1895,7 +1895,7 @@
value = *(const long *)sptr;
- if(((value == -2147483648) || (value == 2147483647))) {
+ if(((value == (-2147483647L - 1)) || (value == 2147483647))) {
/* Constraint check succeeded */
return 0;
} else {
@@ -2042,7 +2042,7 @@
return -1;
}
- if(((value == -2147483648) || (value == 2147483647))) {
+ if(((value == (-2147483647L - 1)) || (value == 2147483647))) {
/* Constraint check succeeded */
return 0;
} else {