Commit d0e860b8 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

comctl32: Sign-compare warnings fix.

parent 4f1fabf3
......@@ -136,7 +136,7 @@ static PDOC_ITEM SYSLINK_AppendDocItem (SYSLINK_INFO *infoPtr, LPCWSTR Text, UIN
{
PDOC_ITEM Item;
textlen = min(textlen, lstrlenW(Text));
textlen = min(textlen, strlenW(Text));
Item = Alloc(FIELD_OFFSET(DOC_ITEM, Text[textlen + 1]));
if(Item == NULL)
{
......
......@@ -113,7 +113,7 @@ static const WNDPROC subclassProcs[NUM_SUBCLASSES] = {
*/
void THEMING_Initialize (void)
{
int i;
unsigned int i;
static const WCHAR subclassPropName[] =
{ 'C','C','3','2','T','h','e','m','i','n','g','S','u','b','C','l',0 };
static const WCHAR refDataPropName[] =
......@@ -161,7 +161,7 @@ void THEMING_Initialize (void)
*/
void THEMING_Uninitialize (void)
{
int i;
unsigned int i;
if (!atSubclassProp) return; /* not initialized */
......
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