mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-16 16:51:07 +02:00
added type cast to 64-bit reverse function
This commit is contained in:
parent
9389670657
commit
248335216a
|
@ -414,7 +414,8 @@ ngx_rtmp_r32(uint32_t n)
|
|||
static ngx_inline uint64_t
|
||||
ngx_rtmp_r64(uint64_t n)
|
||||
{
|
||||
return (uint64_t) ngx_rtmp_r32(n) << 32 | ngx_rtmp_r32(n >> 32);
|
||||
return (uint64_t) ngx_rtmp_r32((uint32_t) n) << 32 |
|
||||
ngx_rtmp_r32((uint32_t) (n >> 32));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue