Fix the build for 32-bit systems. %lu is only 32-bits
[asterisk/asterisk.git] / channels / chan_sip.c
index f857b50..6894829 100644 (file)
@@ -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, "%lu", &rua_version)) {
+       if (!sscanf(token, "%llu", (unsigned long long *) &rua_version)) {
                ast_log(LOG_WARNING, "SDP syntax error in o= line version\n");
                return -1;
        }