mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
* grub-core/disk/ahci.c: Add needed explicit cast.
* grub-core/lib/backtrace.c: Likewise. * grub-core/net/ip.c: Likewise. * grub-core/net/tcp.c: Likewise. * grub-core/net/udp.c: Likewise.
This commit is contained in:
1 parent
3c601f8c81
commit
54ea2f4401
6 files changed
+15
-7
No files matched your search
@@ -970,8 +970,8 @@ grub_ahci_readwrite_real (struct grub_ahci_device *dev,
|
||||
dev->command_table[0].prdt[0].data_base,
|
||||
dev->command_table[0].prdt[0].unused,
|
||||
dev->command_table[0].prdt[0].size,
|
||||
(char *) &dev->command_table[0].prdt[0]
|
||||
- (char *) &dev->command_table[0]);
|
||||
(grub_size_t) ((char *) &dev->command_table[0].prdt[0]
|
||||
- (char *) &dev->command_table[0]));
|
||||
|
||||
if (parms->write)
|
||||
grub_memcpy ((char *) grub_dma_get_virt (bufc), parms->buffer, parms->size);
|
||||
|
||||
Reference in new issue
Block a user