Use some magic constants to get the right size

for this sscanf statement. Thanks Richard!



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Mark Michelson 18 years ago
parent 4e67fdd3f9
commit bd6586e3d7

@ -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, "%llu", (unsigned long long *) &rua_version)) {
if (!sscanf(token, "%" __PRI64_PREFIX "u", &rua_version)) {
ast_log(LOG_WARNING, "SDP syntax error in o= line version\n");
return -1;
}

Loading…
Cancel
Save