diff --git a/hls/ngx_rtmp_hls_module.c b/hls/ngx_rtmp_hls_module.c index d018811..94e393b 100644 --- a/hls/ngx_rtmp_hls_module.c +++ b/hls/ngx_rtmp_hls_module.c @@ -1050,7 +1050,7 @@ ngx_rtmp_hls_open_fragment(ngx_rtmp_session_t *s, uint64_t ts, } // This is continuity counter for TS header - mpegts_cc = (ctx->nfrags + ctx->frag); + mpegts_cc = (ngx_uint_t)(ctx->nfrags + ctx->frag); ngx_log_debug7(NGX_LOG_DEBUG_RTMP, s->connection->log, 0, "hls: open fragment file='%s', keyfile='%s', "