Fix int width problem for 32-bit... again
authorDavid M. Lee <dlee@digium.com>
Thu, 4 Jul 2013 13:37:57 +0000 (13:37 +0000)
committerDavid M. Lee <dlee@digium.com>
Thu, 4 Jul 2013 13:37:57 +0000 (13:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393687 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_ari_model.c

index 1c457ce..661fc43 100644 (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)