obs-ffmpeg: Fix compiler warning

This commit is contained in:
Richard Stanway 2022-04-19 03:23:53 +02:00
parent 42ce624b13
commit 4c96feafab
No known key found for this signature in database
GPG Key ID: 4F96FCA24BCE7BA1

View File

@ -702,7 +702,7 @@ static inline bool should_split(struct ffmpeg_muxer *stream,
static bool send_new_filename(struct ffmpeg_muxer *stream, const char *filename)
{
size_t ret;
uint32_t size = strlen(filename);
uint32_t size = (uint32_t)strlen(filename);
struct ffm_packet_info info = {.type = FFM_PACKET_CHANGE_FILE,
.size = size};