user32: Don't check unsigned types for >= 0.
This commit is contained in:
parent
d59ca34794
commit
c7adf5f4b2
|
@ -1286,7 +1286,7 @@ static HDDEDATA CALLBACK client_dde_callback(UINT uType, UINT uFmt, HCONV hconv,
|
||||||
const char *cmd_name;
|
const char *cmd_name;
|
||||||
|
|
||||||
type = (uType & XTYP_MASK) >> XTYP_SHIFT;
|
type = (uType & XTYP_MASK) >> XTYP_SHIFT;
|
||||||
cmd_name = (type >= 0 && type <= 14) ? cmd_type[type] : "unknown";
|
cmd_name = (type <= 14) ? cmd_type[type] : "unknown";
|
||||||
|
|
||||||
trace("client_dde_callback: %04x (%s) %d %p %p %p %p %08lx %08lx\n",
|
trace("client_dde_callback: %04x (%s) %d %p %p %p %p %08lx %08lx\n",
|
||||||
uType, cmd_name, uFmt, hconv, hsz1, hsz2, hdata, dwData1, dwData2);
|
uType, cmd_name, uFmt, hconv, hsz1, hsz2, hdata, dwData1, dwData2);
|
||||||
|
|
Loading…
Reference in New Issue