Commit 09ce5e80 authored by Guy L. Albertelli's avatar Guy L. Albertelli Committed by Alexandre Julliard

Fixed loop test for negative value.

parent 5483799e
...@@ -1289,7 +1289,7 @@ void SPY_DumpStructure (UINT msg, BOOL enter, LPARAM structure) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment