* 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

@ -766,7 +766,7 @@ grub_net_recv_tcp_packet (struct grub_net_buff *nb,
>> 12) * sizeof (grub_uint32_t)))
{
grub_dprintf ("net", "TCP packet too short: %" PRIuGRUB_SIZE "\n",
nb->tail - nb->data);
(grub_size_t) (nb->tail - nb->data));
grub_netbuff_free (nb);
return GRUB_ERR_NONE;
}