compile error fix

This commit is contained in:
phcoder 2009-10-19 18:08:22 +02:00
parent 7c8f6c181c
commit b0000ec899
1 changed files with 2 additions and 1 deletions

View File

@ -310,7 +310,8 @@ grub_ohci_transfer (grub_usb_controller_t dev,
grub_ohci_transaction (&td_list[i], tr->pid, tr->toggle,
tr->size, tr->data);
td_list[i].next_td = grub_cpu_to_le32 (vtop (&td_list[i + 1]));
td_list[i].next_td = grub_cpu_to_le32 (vtop ((grub_addr_t)
&td_list[i + 1]));
}
/* Setup the Endpoint Descriptor. */