fixed type issues

This commit is contained in:
Markus Fröschle
2013-12-27 13:34:09 +00:00
parent 70f725d8cf
commit 9c94d579dc
3 changed files with 10 additions and 11 deletions

View File

@@ -1303,7 +1303,7 @@ static void radeon_timer_func(void)
info->fbops->SubsequentScanlineCPUToScreenColorExpandFill(info,(int)dst_x,0,w,h,skipleft);
while(--h >= 0)
{
info->fbops->SubsequentScanline(info, (uint32_t *)src_buf);
info->fbops->SubsequentScanline(info, (unsigned long *) src_buf);
src_buf += (info->var.xres_virtual >> 3);
}
// info->fbops->DisableClipping(info);
@@ -2000,7 +2000,6 @@ int32_t radeonfb_pci_register(int32_t handle, const struct pci_device_id *ent)
rinfo = info->par;
rinfo->info = info;
rinfo->handle = handle;
Funcs_copy("ATI Radeon XX ", rinfo->name);
rinfo->name[11] = (char)(ent->device >> 8);
rinfo->name[12] = (char)ent->device;
rinfo->family = ent->driver_data & CHIP_FAMILY_MASK;
@@ -2016,7 +2015,7 @@ int32_t radeonfb_pci_register(int32_t handle, const struct pci_device_id *ent)
rinfo->mmio_base = rinfo->io_base = NULL;
rinfo->bios_seg = NULL;
pci_rsc_desc = (struct pci_rd *) get_resource(handle);
pci_rsc_desc = (struct pci_rd *) pci_get_resource(handle);
if ((int32_t)pci_rsc_desc >= 0)
{
uint16_t flags;