Commit 10e9e153 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

oledlg: Avoid signed-unsigned integer comparisons.

parent d50189c1
...@@ -85,7 +85,9 @@ static void dump_ps_flags(DWORD flags) ...@@ -85,7 +85,9 @@ static void dump_ps_flags(DWORD flags)
static void dump_pastespecial(const OLEUIPASTESPECIALW *ps) static void dump_pastespecial(const OLEUIPASTESPECIALW *ps)
{ {
UINT i; INT i;
UINT j;
dump_ps_flags(ps->dwFlags); dump_ps_flags(ps->dwFlags);
TRACE("hwnd %p caption %s hook %p custdata %lx\n", TRACE("hwnd %p caption %s hook %p custdata %lx\n",
ps->hWndOwner, debugstr_w(ps->lpszCaption), ps->lpfnHook, ps->lCustData); ps->hWndOwner, debugstr_w(ps->lpszCaption), ps->lpfnHook, ps->lCustData);
...@@ -110,8 +112,8 @@ static void dump_pastespecial(const OLEUIPASTESPECIALW *ps) ...@@ -110,8 +112,8 @@ static void dump_pastespecial(const OLEUIPASTESPECIALW *ps)
} }
for(i = 0; i < ps->cLinkTypes; i++) for(i = 0; i < ps->cLinkTypes; i++)
TRACE("arrLinkTypes[%d] %08x\n", i, ps->arrLinkTypes[i]); TRACE("arrLinkTypes[%d] %08x\n", i, ps->arrLinkTypes[i]);
for(i = 0; i < ps->cClsidExclude; i++) for(j = 0; j < ps->cClsidExclude; j++)
TRACE("lpClsidExclude[%d] %s\n", i, debugstr_guid(&ps->lpClsidExclude[i])); TRACE("lpClsidExclude[%u] %s\n", j, debugstr_guid(&ps->lpClsidExclude[j]));
} }
......
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