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

fix compile failed.

This commit is contained in:
winlin 2015-10-27 17:57:58 +08:00
parent a416e891b4
commit 390f58e186
2 changed files with 2 additions and 2 deletions

View file

@ -678,7 +678,7 @@ u_int32_t __crc32_ieee(u_int32_t init, const u_int8_t* buf, size_t nb_buf)
u_int32_t crc = init ^ 0xFFFFFFFF; u_int32_t crc = init ^ 0xFFFFFFFF;
for (int i = 0; i < nb_buf; i++) { for (size_t i = 0; i < nb_buf; i++) {
crc = table[(crc ^ buf[i]) & 0xff] ^ (crc >> 8); crc = table[(crc ^ buf[i]) & 0xff] ^ (crc >> 8);
} }

View file

@ -129,7 +129,7 @@ void show_macro_features()
#endif #endif
#ifndef SRS_OSX #ifndef SRS_OSX
ss << ", glibc" << (int)__GLIBC__ << "." (int)__GLIBC_MINOR__; ss << ", glibc" << (int)__GLIBC__ << "." << (int)__GLIBC_MINOR__;
#endif #endif
ss << ", conf:" << _srs_config->config() << ", limit:" << _srs_config->get_max_connections() ss << ", conf:" << _srs_config->config() << ", limit:" << _srs_config->get_max_connections()