Ignore:
Timestamp:
Feb 21, 2010, 5:33:53 PM (16 years ago)
Author:
rlwalsh
Message:

eliminate VACPP warning & info msgs - see Ticket #1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/text.c

    r8754 r21356  
    470470       ret = DrawTextExW( hdc, wstr, wcount, rect, flags, NULL );
    471471       if (flags & DT_MODIFYSTRING)
    472             WideCharToMultiByte( CP_ACP, 0, wstr, -1, str, count, NULL, NULL );
     472            WideCharToMultiByte( CP_ACP, 0, wstr, -1, (LPSTR)str, count, NULL, NULL );
    473473       HeapFree(GetProcessHeap(), 0, wstr);
    474474   }
     
    530530            slen = strlen((LPCSTR)lp);
    531531        else
    532             slen = strlen(MapSL(lp));
     532            slen = strlen(MapSL((LPCSTR)lp));
    533533    }
    534534
     
    541541            GetTextExtentPoint32A(hdc, (LPCSTR)lp, slen, &s);
    542542        else
    543             GetTextExtentPoint32A(hdc, MapSL(lp), slen, &s);
     543            GetTextExtentPoint32A(hdc, MapSL((LPCSTR)lp), slen, &s);
    544544        if(cx == 0) cx = s.cx;
    545545        if(cy == 0) cy = s.cy;
     
    569569            TextOutA(memdc, 0, 0, (LPCSTR)lp, slen);
    570570        else
    571             TextOutA(memdc, 0, 0, MapSL(lp), slen);
     571            TextOutA(memdc, 0, 0, MapSL((LPCSTR)lp), slen);
    572572    }
    573573
Note: See TracChangeset for help on using the changeset viewer.