* 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

@ -155,7 +155,7 @@ grub_net_recv_udp_packet (struct grub_net_buff *nb,
if (nb->tail - nb->data < (grub_ssize_t) sizeof (*udph))
{
grub_dprintf ("net", "UDP 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;
}