Commit 24186d42 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

gdi32: Fix the type of two loop variables.

parent 2ff2d885
...@@ -2128,7 +2128,8 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags, ...@@ -2128,7 +2128,8 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
{ {
HFONT orig_font = dc->hFont, cur_font; HFONT orig_font = dc->hFont, cur_font;
UINT glyph; UINT glyph;
INT span = 0, *offsets = NULL, i; INT span = 0, *offsets = NULL;
unsigned int i;
glyphs = HeapAlloc(GetProcessHeap(), 0, count * sizeof(WORD)); glyphs = HeapAlloc(GetProcessHeap(), 0, count * sizeof(WORD));
for(i = 0; i < count; i++) for(i = 0; i < count; i++)
...@@ -2138,7 +2139,7 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags, ...@@ -2138,7 +2139,7 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
{ {
if(!offsets) if(!offsets)
{ {
int j; unsigned int j;
offsets = HeapAlloc(GetProcessHeap(), 0, count * sizeof(*deltas)); offsets = HeapAlloc(GetProcessHeap(), 0, count * sizeof(*deltas));
offsets[0] = 0; offsets[0] = 0;
if(!deltas) if(!deltas)
......
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