mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-08-07 01:20:45 +00:00
Fix C4146 warning on MSVC
This commit is contained in:
+1
-1
@@ -264,7 +264,7 @@ static inline void bs_write_se(bs_t* b, int32_t v)
|
||||
{
|
||||
if (v <= 0)
|
||||
{
|
||||
bs_write_ue(b, (-(uint32_t)v) * 2);
|
||||
bs_write_ue(b, (~(uint32_t)v + 1) * 2);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user