]> git.sesse.net Git - vlc/blobdiff - modules/services_discovery/sap.c
SAP SD: Use SCN in scanf instrad of PRI
[vlc] / modules / services_discovery / sap.c
index a065ac4cf56cf4ae96beec2195d027bb0e927fd7..faf15f4726ab72614edbe52eb31a7901ce31d8fe 100644 (file)
@@ -1250,7 +1250,7 @@ static sdp_t *ParseSDP (vlc_object_t *p_obj, const char *psz_sdp)
                     goto error;
                 }
 
-                if ((sscanf (data, "%63s %"PRIu64" %"PRIu64" IN IP%u %1023s",
+                if ((sscanf (data, "%63s %"SCNu64" %"SCNu64" IN IP%u %1023s",
                              p_sdp->username, &p_sdp->session_id,
                              &p_sdp->session_version, &p_sdp->orig_ip_version,
                              p_sdp->orig_host) != 5)