mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/net/bootp.c (OFFSET_OF): Explicitly cast to grub_size_t.
This commit is contained in:
1 parent
f06c2172c0
commit
6d5a4ceefe
2 files changed
+5
-1
No files matched your search
@@ -159,7 +159,7 @@ parse_dhcp_vendor (const char *name, const void *vend, int limit, int *mask)
|
||||
}
|
||||
}
|
||||
|
||||
#define OFFSET_OF(x, y) ((grub_uint8_t *)((y)->x) - (grub_uint8_t *)(y))
|
||||
#define OFFSET_OF(x, y) ((grub_size_t)((grub_uint8_t *)((y)->x) - (grub_uint8_t *)(y)))
|
||||
|
||||
struct grub_net_network_level_interface *
|
||||
grub_net_configure_by_dhcp_ack (const char *name,
|
||||
|
||||
Reference in new issue
Block a user