From: Mark Michelson Date: Fri, 21 Nov 2008 01:22:18 +0000 (+0000) Subject: Use a more expressive constant for a 64-bit scanned int X-Git-Tag: 1.6.2.0-beta1~807 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95c416df0b7751f613798a90ec8706e3cf74bec5;p=thirdparty%2Fasterisk.git Use a more expressive constant for a 64-bit scanned int git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158266 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0cffb9e969..103c295a03 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7309,7 +7309,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action ast_log(LOG_WARNING, "SDP syntax error in o= line\n"); return -1; } - if (!sscanf(token, "%" __PRI64_PREFIX "u", &rua_version)) { + if (!sscanf(token, "%" SCNu64, &rua_version)) { ast_log(LOG_WARNING, "SDP syntax error in o= line version\n"); return -1; }