diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2015-02-07 20:35:51 -0500 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2015-02-07 20:35:51 -0500 |
commit | 14d942c1e11e10fcd423218b564881fa0bcc1510 (patch) | |
tree | 0ac26c141032bfff3c10f380fb1fb83170303783 /other/bootstrap_node_packets.c | |
parent | 93b1c346fe17c200836741b53337d32f410e5b7f (diff) |
Fixed incompatible pointer type warning
Diffstat (limited to 'other/bootstrap_node_packets.c')
-rw-r--r-- | other/bootstrap_node_packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/other/bootstrap_node_packets.c b/other/bootstrap_node_packets.c index e8df3289..0bf9b9b0 100644 --- a/other/bootstrap_node_packets.c +++ b/other/bootstrap_node_packets.c | |||
@@ -34,7 +34,7 @@ static uint16_t bootstrap_motd_length; | |||
34 | /* To request this packet just send a packet of length INFO_REQUEST_PACKET_LENGTH | 34 | /* To request this packet just send a packet of length INFO_REQUEST_PACKET_LENGTH |
35 | * with the first byte being BOOTSTRAP_INFO_PACKET_ID | 35 | * with the first byte being BOOTSTRAP_INFO_PACKET_ID |
36 | */ | 36 | */ |
37 | static int handle_info_request(void *object, IP_Port source, const uint8_t *packet, uint32_t length) | 37 | static int handle_info_request(void *object, IP_Port source, const uint8_t *packet, uint16_t length) |
38 | { | 38 | { |
39 | if (length != INFO_REQUEST_PACKET_LENGTH) | 39 | if (length != INFO_REQUEST_PACKET_LENGTH) |
40 | return 1; | 40 | return 1; |