diff options
Diffstat (limited to 'vidix/drivers/nvidia_vid.c')
-rw-r--r-- | vidix/drivers/nvidia_vid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vidix/drivers/nvidia_vid.c b/vidix/drivers/nvidia_vid.c index 710336098e..dd887dd07f 100644 --- a/vidix/drivers/nvidia_vid.c +++ b/vidix/drivers/nvidia_vid.c @@ -704,7 +704,7 @@ static rivatv_info* info; int vixInit(void){ int mtrr; - info = (rivatv_info*)calloc(1,sizeof(rivatv_info)); + info = calloc(1,sizeof(rivatv_info)); info->control_base = map_phys_mem(pci_info.base0, 0x00C00000 + 0x00008000); info->chip.arch = nvidia_card_ids[find_chip(pci_info.device)].arch; printf("[nvidia_vid] arch %x register base %p\n",info->chip.arch,info->control_base); |