[asterisk-commits] dlee: trunk r393687 - /trunk/res/res_ari_model.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 4 08:37:59 CDT 2013


Author: dlee
Date: Thu Jul  4 08:37:57 2013
New Revision: 393687

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393687
Log:
Fix int width problem for 32-bit... again

Modified:
    trunk/res/res_ari_model.c

Modified: trunk/res/res_ari_model.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_ari_model.c?view=diff&rev=393687&r1=393686&r2=393687
==============================================================================
--- trunk/res/res_ari_model.c (original)
+++ trunk/res/res_ari_model.c Thu Jul  4 08:37:57 2013
@@ -118,7 +118,7 @@
 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)




More information about the asterisk-commits mailing list