* 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:
Vladimir 'phcoder' Serbinenko 2013-08-21 21:02:14 +02:00
parent 3c601f8c81
commit 54ea2f4401
6 changed files with 15 additions and 7 deletions

View file

@ -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);