Fixed loop test for negative value.
This commit is contained in:
parent
5483799eb9
commit
09ce5e8013
|
@ -1289,7 +1289,7 @@ void SPY_DumpStructure (UINT msg, BOOL enter, LPARAM structure)
|
||||||
if (p->len > 0) {
|
if (p->len > 0) {
|
||||||
int i;
|
int i;
|
||||||
q = (UINT *)(pnmh + 1);
|
q = (UINT *)(pnmh + 1);
|
||||||
for(i=0; i<p->len-12; i+=16) {
|
for(i=0; i<((INT)p->len)-12; i+=16) {
|
||||||
TRACE("NM extra [%04x] %08x %08x %08x %08x\n",
|
TRACE("NM extra [%04x] %08x %08x %08x %08x\n",
|
||||||
i, *q, *(q+1), *(q+2), *(q+3));
|
i, *q, *(q+1), *(q+2), *(q+3));
|
||||||
q += 4;
|
q += 4;
|
||||||
|
|
Loading…
Reference in New Issue