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