wineps.drv: Remove unneeded casts.
This commit is contained in:
parent
b286289180
commit
f44d2eddcb
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue