mirror of
https://github.com/reactos/wine.git
synced 2025-02-16 10:59:45 +00:00
comdlg32: Sign-compare warnings fix.
This commit is contained in:
parent
7af03a041a
commit
4f1fabf335
@ -150,7 +150,7 @@ static const struct {
|
||||
|
||||
void _dump_cf_flags(DWORD cflags)
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; i < sizeof(cfflags)/sizeof(cfflags[0]); i++)
|
||||
if (cfflags[i].mask & cflags)
|
||||
@ -428,7 +428,7 @@ static int AddFontSizeToCombo3(HWND hwnd, UINT h, const CHOOSEFONTW *lpcf)
|
||||
static int SetFontSizesToCombo3(HWND hwnd, const CHOOSEFONTW *lpcf)
|
||||
{
|
||||
static const BYTE sizes[]={6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72};
|
||||
int i;
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; i < sizeof(sizes)/sizeof(sizes[0]); i++)
|
||||
if (AddFontSizeToCombo3(hwnd, sizes[i], lpcf)) return 1;
|
||||
|
@ -1040,7 +1040,7 @@ BOOL PRINTDLG_ChangePrinterA(HWND hDlg, char *name,
|
||||
HWND hQuality = GetDlgItem(hDlg, cmb1);
|
||||
LONG* Resolutions;
|
||||
char buf[255];
|
||||
int i;
|
||||
DWORD i;
|
||||
int dpiX, dpiY;
|
||||
HDC hPrinterDC = CreateDCA(PrintStructures->lpPrinterInfo->pDriverName,
|
||||
PrintStructures->lpPrinterInfo->pPrinterName,
|
||||
|
Loading…
x
Reference in New Issue
Block a user