]> git.sesse.net Git - vlc/commitdiff
SAP SD: Use SCN in scanf instrad of PRI
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 26 Dec 2009 18:39:59 +0000 (19:39 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 26 Dec 2009 18:47:47 +0000 (19:47 +0100)
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)