mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-14 18:10:55 +08:00
消除编译警告
This commit is contained in:
Submodule 3rdpart/ZLToolKit updated: ac02dc10fb...2d04db1e22
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
|
||||
#include <cstdlib>
|
||||
#include <inttypes.h>
|
||||
#include "HlsParser.h"
|
||||
#include "Util/util.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) {
|
||||
sscanf(line.data(), "#EXT-X-MEDIA-SEQUENCE:%lld", &_sequence);
|
||||
sscanf(line.data(), "#EXT-X-MEDIA-SEQUENCE:%" PRId64, &_sequence);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user