- sign_extension: Suspicious implicit sign extension: x with type uint16
(16 bits, unsigned) is promoted in (x << 16) | y to type int (32 bits,
signed), then sign-extended to type unsigned long (64 bits, unsigned).
If (x << 16) | y is greater than 0x7FFFFFFF, the upper bits of the
result will all be 1.
File: bora-vmsoft/services/plugins/dndcp/pointer.cpp
Function: PointerSetPos
Backdoor_proto bp;
bp.in.cx.halfs.low = BDOOR_CMD_SETPTRLOCATION;
- bp.in.size = (x << 16) | y;
+ bp.in.size = (uint32) ((x << 16) | y);
Backdoor(&bp);
}