mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user