summaryrefslogtreecommitdiffstats
path: root/lasso/saml-2.0/provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'lasso/saml-2.0/provider.c')
-rw-r--r--lasso/saml-2.0/provider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/saml-2.0/provider.c b/lasso/saml-2.0/provider.c
index a66ba9f2..f86eb8f1 100644
--- a/lasso/saml-2.0/provider.c
+++ b/lasso/saml-2.0/provider.c
@@ -153,7 +153,7 @@ xsdUnsignedShortParse(xmlChar *value, int *out) {
errno = 0;
l = strtol((char*)value, NULL, 10);
- if (((l == LONG_MIN || l == LONG_MAX) && errno == ERANGE) ||
+ if (((l == INT_MIN || l == INT_MAX) && errno == ERANGE) ||
errno == EINVAL || l < 0 || l >= 65535) {
return FALSE;
}