From 2b0596051e53d36ac7a91ad68dbe52ee3aa3523d Mon Sep 17 00:00:00 2001 From: Sergey Dryabzhinsky Date: Sat, 25 Jun 2016 16:00:57 +0300 Subject: [PATCH] Another type conversion fix for MSVS --- hls/ngx_rtmp_hls_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', "