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

for bug #143, build on centos5.

This commit is contained in:
winlin 2014-08-02 22:18:39 +08:00
parent 84450e1588
commit 7b24788445
118 changed files with 123 additions and 24 deletions

View file

@ -2156,7 +2156,7 @@ int SrsConfig::get_bw_check_interval_ms(string vhost)
return SRS_CONF_DEFAULT_BANDWIDTH_INTERVAL * 1000;
}
return ::atof(conf->arg0().c_str()) * 1000;
return (int)(::atof(conf->arg0().c_str()) * 1000);
}
int SrsConfig::get_bw_check_limit_kbps(string vhost)
@ -3316,3 +3316,4 @@ bool srs_directive_equals(SrsConfDirective* a, SrsConfDirective* b)
return true;
}