Fix int width problem for 32-bit... again

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David M. Lee
2013-07-04 13:37:57 +00:00
parent 951c87634f
commit fb03bf9b39

View File

@@ -118,7 +118,7 @@ int ari_validate_boolean(struct ast_json *json)
int ari_validate_int(struct ast_json *json)
{
/* Swagger int's are 32-bit */
return check_range(-2147483648, 2147483647, json);
return check_range(-2147483648LL, 2147483647LL, json);
}
int ari_validate_long(struct ast_json *json)