aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-21 01:23:18 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-21 01:23:18 +0000
commit51ddbf24663eb60973f72557290f620b1f81176d (patch)
treeed342f3d6c38747f93e9c6025cca12bf0422bb01
parent90c8522dee56a85fa12260521c10d52f76e932e0 (diff)
Merged revisions 158265-158266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r158265 | mmichelson | 2008-11-20 19:14:20 -0600 (Thu, 20 Nov 2008) | 4 lines Use some magic constants to get the right size for this sscanf statement. Thanks Richard! ........ r158266 | mmichelson | 2008-11-20 19:22:18 -0600 (Thu, 20 Nov 2008) | 3 lines Use a more expressive constant for a 64-bit scanned int ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@158267 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 19dc9f833..61588db4d 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6558,7 +6558,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
ast_log(LOG_WARNING, "SDP sytax error in o= line\n");
return -1;
}
- if (!sscanf(token, "%llu", (unsigned long long *) &rua_version)) {
+ if (!sscanf(token, "%" SCNu64, &rua_version)) {
ast_log(LOG_WARNING, "SDP sytax error in o= line version\n");
return -1;
}