From 881b2d900d1998981fb6b9938ec66012d049635f Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sun, 15 Jun 2014 20:49:39 -0400 Subject: Fixed some warnings. --- other/bootstrap_node_packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'other/bootstrap_node_packets.c') diff --git a/other/bootstrap_node_packets.c b/other/bootstrap_node_packets.c index ea57b0d2..e8df3289 100644 --- a/other/bootstrap_node_packets.c +++ b/other/bootstrap_node_packets.c @@ -34,7 +34,7 @@ static uint16_t bootstrap_motd_length; /* To request this packet just send a packet of length INFO_REQUEST_PACKET_LENGTH * with the first byte being BOOTSTRAP_INFO_PACKET_ID */ -static int handle_info_request(void *object, IP_Port source, uint8_t *packet, uint32_t length) +static int handle_info_request(void *object, IP_Port source, const uint8_t *packet, uint32_t length) { if (length != INFO_REQUEST_PACKET_LENGTH) return 1; -- cgit v1.2.3