Fix int width problem for 32-bit

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@393679 f38db490-d61c-443f-a65b-d21fe96a405b
Fix int width problem for 32-bit... again

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@393687 f38db490-d61c-443f-a65b-d21fe96a405b