Skip to content
Snippets Groups Projects
Commit fb03bf9b authored by David M. Lee's avatar David M. Lee
Browse files

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 951c8763
No related branches found
No related tags found
No related merge requests found
...@@ -118,7 +118,7 @@ int ari_validate_boolean(struct ast_json *json) ...@@ -118,7 +118,7 @@ int ari_validate_boolean(struct ast_json *json)
int ari_validate_int(struct ast_json *json) int ari_validate_int(struct ast_json *json)
{ {
/* Swagger int's are 32-bit */ /* 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) int ari_validate_long(struct ast_json *json)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment