Fix C4146 warning on MSVC

This commit is contained in:
Cameron Gutman
2026-07-26 20:12:58 -05:00
parent 3aa111e825
commit 7794a42843
+1 -1
View File
@@ -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
{