Fixed loop test for negative value.

oldstable
Guy L. Albertelli 2000-12-24 19:51:02 +00:00 committed by Alexandre Julliard
parent 5483799eb9
commit 09ce5e8013
1 changed files with 1 additions and 1 deletions

View File

@ -1289,7 +1289,7 @@ void SPY_DumpStructure (UINT msg, BOOL enter, LPARAM structure)
if (p->len > 0) {
int i;
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",
i, *q, *(q+1), *(q+2), *(q+3));
q += 4;