Silence potential overflow warning (#83272)
Cast Offset variable to int64_t type directly inside a multiplication and function call to utilize 64-bit arithmetic. Ensure that the multiplication will not overflow. A static analyzer warned about this since the function expects a 64-bit argument, but the multiplication is evaluated inside a 32-bit context.
parent
09bc6abb
Please register or sign in to comment