]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
compile error fix
authorphcoder <phcoder@debian.bg45.phnet>
Mon, 19 Oct 2009 16:08:22 +0000 (18:08 +0200)
committerphcoder <phcoder@debian.bg45.phnet>
Mon, 19 Oct 2009 16:08:22 +0000 (18:08 +0200)
bus/usb/ohci.c

index 4c844d08987ba01b97039bba2d0379263821bf0d..388f659282677c6613872e78feacb1e7e690ca06 100644 (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.  */