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:
parent
a416e891b4
commit
390f58e186
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue