mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #742, refine the u_intxx_t to uintxx_t
This commit is contained in:
parent
011ac4f6a9
commit
b16ab038ce
49 changed files with 278 additions and 275 deletions
|
@ -212,7 +212,7 @@ void SrsKafkaBytes::set_value(const char* v, int nb_v)
|
|||
memcpy(_data, v, _size);
|
||||
}
|
||||
|
||||
u_int32_t SrsKafkaBytes::crc32(u_int32_t previous)
|
||||
uint32_t SrsKafkaBytes::crc32(uint32_t previous)
|
||||
{
|
||||
char bsize[4];
|
||||
SrsBuffer(bsize, 4).write_4bytes(_size);
|
||||
|
@ -221,7 +221,7 @@ u_int32_t SrsKafkaBytes::crc32(u_int32_t previous)
|
|||
return srs_crc32_ieee(bsize, 4, previous);
|
||||
}
|
||||
|
||||
u_int32_t crc = srs_crc32_ieee(bsize, 4, previous);
|
||||
uint32_t crc = srs_crc32_ieee(bsize, 4, previous);
|
||||
crc = srs_crc32_ieee(_data, _size, crc);
|
||||
|
||||
return crc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue