Commit cd5072f8 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

kernel: Wsign-compare warning fix.

parent 3879fef2
...@@ -181,7 +181,7 @@ DWORD WINAPI FormatMessageA( ...@@ -181,7 +181,7 @@ DWORD WINAPI FormatMessageA(
#define ADD_TO_T(c) do { \ #define ADD_TO_T(c) do { \
*t++=c;\ *t++=c;\
if (t-target == talloced) {\ if ((DWORD)(t-target) == talloced) {\
target = HeapReAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,target,talloced*2);\ target = HeapReAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,target,talloced*2);\
t = target+talloced;\ t = target+talloced;\
talloced*=2;\ talloced*=2;\
...@@ -395,7 +395,7 @@ DWORD WINAPI FormatMessageW( ...@@ -395,7 +395,7 @@ DWORD WINAPI FormatMessageW(
#define ADD_TO_T(c) do {\ #define ADD_TO_T(c) do {\
*t++=c;\ *t++=c;\
if (t-target == talloced) {\ if ((DWORD)(t-target) == talloced) {\
target = HeapReAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,target,talloced*2*sizeof(WCHAR));\ target = HeapReAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,target,talloced*2*sizeof(WCHAR));\
t = target+talloced;\ t = target+talloced;\
talloced*=2;\ talloced*=2;\
......
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