1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix build warnings

This commit is contained in:
winlin 2021-01-08 11:48:56 +08:00
parent 473942c6f6
commit 61f62ceec6
3 changed files with 5 additions and 5 deletions

View file

@ -77,7 +77,7 @@ extern srs_utime_t _srs_tmp_timeout;
// For init array data.
#define HELPER_ARRAY_INIT(buf, sz, val) \
for (int _iii = 0; _iii < sz; _iii++) (buf)[_iii] = val
for (int _iii = 0; _iii < (int)sz; _iii++) (buf)[_iii] = val
// Dump simple stream to string.
#define HELPER_BUFFER2STR(io) \