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:
parent
473942c6f6
commit
61f62ceec6
3 changed files with 5 additions and 5 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue