Commit f44d2edd authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

wineps.drv: Remove unneeded casts.

parent b2862891
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment