aboutsummaryrefslogtreecommitdiff
path: root/src/bootp.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2020-01-21 15:02:14 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2020-01-22 13:16:24 +0400
commita4457cf5e19eca116efb78b65edc36fcc8c76ba2 (patch)
tree524d09ab0c44d1f3790c0b291232fc00c4b569da /src/bootp.h
parent8ecd026e04edaa80a0b264e786a9bb2ee380b31b (diff)
downloadslirp-a4457cf5e19eca116efb78b65edc36fcc8c76ba2.zip
slirp-a4457cf5e19eca116efb78b65edc36fcc8c76ba2.tar.gz
slirp-a4457cf5e19eca116efb78b65edc36fcc8c76ba2.tar.bz2
bootp: remove extra cast
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'src/bootp.h')
-rw-r--r--src/bootp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootp.h b/src/bootp.h
index 03ece9b..a57fa51 100644
--- a/src/bootp.h
+++ b/src/bootp.h
@@ -113,7 +113,7 @@ struct bootp_t {
struct in_addr bp_giaddr;
uint8_t bp_hwaddr[16];
uint8_t bp_sname[64];
- uint8_t bp_file[128];
+ char bp_file[128];
uint8_t bp_vend[DHCP_OPT_LEN];
};