* grub-core/net/drivers/ieee1275/ofnet.c (send_card_buffer) Use right

type in pointers on sparc64.
	(get_card_packet): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-06-27 12:13:21 +02:00
parent f9b75e8a67
commit b6f945dccb
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/net/drivers/ieee1275/ofnet.c (send_card_buffer) Use right
type in pointers on sparc64.
(get_card_packet): Likewise.
2011-06-27 Colin Watson <cjwatson@ubuntu.com> 2011-06-27 Colin Watson <cjwatson@ubuntu.com>
* grub-core/commands/videoinfo.c (hook): Indicate current video mode * grub-core/commands/videoinfo.c (hook): Indicate current video mode

View file

@ -39,7 +39,7 @@ card_close (struct grub_net_card *dev)
static grub_err_t static grub_err_t
send_card_buffer (const struct grub_net_card *dev, struct grub_net_buff *pack) send_card_buffer (const struct grub_net_card *dev, struct grub_net_buff *pack)
{ {
int actual; grub_ssize_t actual;
int status; int status;
struct grub_ofnetcard_data *data = dev->data; struct grub_ofnetcard_data *data = dev->data;
@ -54,7 +54,8 @@ send_card_buffer (const struct grub_net_card *dev, struct grub_net_buff *pack)
static grub_ssize_t static grub_ssize_t
get_card_packet (const struct grub_net_card *dev, struct grub_net_buff *nb) get_card_packet (const struct grub_net_card *dev, struct grub_net_buff *nb)
{ {
int actual, rc; grub_ssize_t actual;
int rc;
struct grub_ofnetcard_data *data = dev->data; struct grub_ofnetcard_data *data = dev->data;
grub_uint64_t start_time; grub_uint64_t start_time;