winex11.drv: Sign-compare warnings fix.
This commit is contained in:
parent
53c1c8a8a5
commit
dd8e833db2
|
@ -45,7 +45,7 @@ static const unsigned int heights[] = {200, 300, 384, 480, 600, 768, 864, 1024
|
|||
/* create the mode structures */
|
||||
static void make_modes(void)
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
/* original specified desktop size */
|
||||
X11DRV_Settings_AddOneMode(screen_width, screen_height, 0, 60);
|
||||
for (i=0; i<NUM_DESKTOP_MODES; i++)
|
||||
|
|
|
@ -441,7 +441,7 @@ static int *X11DRV_DIB_BuildColorMap( X11DRV_PDEVICE *physDev, WORD coloruse, WO
|
|||
*/
|
||||
static int X11DRV_DIB_MapColor( int *physMap, int nPhysMap, int phys, int oldcol )
|
||||
{
|
||||
unsigned int color;
|
||||
int color;
|
||||
|
||||
if ((oldcol < nPhysMap) && (physMap[oldcol] == phys))
|
||||
return oldcol;
|
||||
|
@ -4314,7 +4314,7 @@ void X11DRV_DIB_CopyDIBSection(X11DRV_PDEVICE *physDevSrc, X11DRV_PDEVICE *physD
|
|||
freeColorMap = FALSE;
|
||||
} else {
|
||||
const BITMAPINFO* info = (BITMAPINFO*)&dib.dsBmih;
|
||||
int i;
|
||||
unsigned int i;
|
||||
|
||||
nColorMap = X11DRV_DIB_GetColorCount(info);
|
||||
x11ColorMap = HeapAlloc(GetProcessHeap(), 0, nColorMap * sizeof(int));
|
||||
|
|
|
@ -505,7 +505,7 @@ static void GenerateIMECHARMessages(HIMC hIMC, LPWSTR String, DWORD length)
|
|||
{
|
||||
LPINPUTCONTEXT lpIMC;
|
||||
LPTRANSMSG lpTransMsg;
|
||||
INT i;
|
||||
DWORD i;
|
||||
|
||||
if (length <= 0)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue