mirror of
https://github.com/mpv-player/mpv
synced 2024-10-26 07:22:17 +02:00
drops casts from void * on malloc/calloc from vidix/
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19073 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
60708c1acb
commit
b7beba3003
@ -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);
|
||||
|
@ -873,7 +873,7 @@ vixInit (void)
|
||||
fprintf(stderr, "vixInit enter \n");
|
||||
// //getc(stdin);
|
||||
|
||||
info = (savage_info*)calloc(1,sizeof(savage_info));
|
||||
info = calloc(1,sizeof(savage_info));
|
||||
|
||||
|
||||
/* need this if we want direct outb and inb access? */
|
||||
|
Loading…
Reference in New Issue
Block a user