wineps.drv: Remove unneeded casts.

This commit is contained in:
Andrew Talbot 2008-02-02 17:27:14 +00:00 committed by Alexandre Julliard
parent b286289180
commit f44d2eddcb
2 changed files with 3 additions and 3 deletions

View File

@ -550,8 +550,8 @@ DWORD PSDRV_DeviceCapabilities(LPSTR lpszDriver, LPCSTR lpszDevice, LPCSTR lpszP
LONG *lp = (LONG*)lpszOutput;
if(lpszOutput != NULL) {
lp[0] = (LONG)pi->ppd->DefaultResolution;
lp[1] = (LONG)pi->ppd->DefaultResolution;
lp[0] = pi->ppd->DefaultResolution;
lp[1] = pi->ppd->DefaultResolution;
}
return 1;
}

View File

@ -861,7 +861,7 @@ static VOID Unicodify(AFM *afm, OLD_AFMMETRICS *metrics)
{
if (metrics[i].C >= 0x20 && metrics[i].C <= 0xff)
{
metrics[i].UV = ((LONG)(metrics[i].C)) | 0xf000L;
metrics[i].UV = metrics[i].C | 0xf000L;
}
else
{