消除编译警告

This commit is contained in:
xiongziliang 2020-10-10 18:36:29 +08:00
parent dfaa8b540c
commit 209689121a
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit ac02dc10fb0cc065d72a0e950e5c1aafff1da0d6 Subproject commit 2d04db1e22f0be31c403d6ed9655e5a5b1602278

View File

@ -9,6 +9,7 @@
*/ */
#include <cstdlib> #include <cstdlib>
#include <inttypes.h>
#include "HlsParser.h" #include "HlsParser.h"
#include "Util/util.h" #include "Util/util.h"
#include "Common/Parser.h" #include "Common/Parser.h"
@ -90,7 +91,7 @@ bool HlsParser::parse(const string &http_url, const string &m3u8) {
} }
if (line.find("#EXT-X-MEDIA-SEQUENCE:") == 0) { if (line.find("#EXT-X-MEDIA-SEQUENCE:") == 0) {
sscanf(line.data(), "#EXT-X-MEDIA-SEQUENCE:%lld", &_sequence); sscanf(line.data(), "#EXT-X-MEDIA-SEQUENCE:%" PRId64, &_sequence);
continue; continue;
} }