fix compile failed.

pull/528/head
winlin 9 years ago
parent a416e891b4
commit 390f58e186

@ -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;
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);
}

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

Loading…
Cancel
Save