@@ -255,7 +255,7 @@ static int hna_buff_delete(struct hna_element *buf, int *buf_len, struct hna_ele
* a situation where no route is present.
*/
void update_hna(struct orig_node *orig_node, unsigned char *new_hna,
- int new_hna_len, struct neigh_node *old_router)
+ int16_t new_hna_len, struct neigh_node *old_router)
{
unsigned char *old_hna;
int old_hna_len;
@@ -38,7 +38,7 @@ void addr_to_string( uint32_t addr, char *str, int32_t len );
int8_t is_aborted(void);
void update_hna(struct orig_node *orig_node, unsigned char *new_hna,
- int new_hna_len, struct neigh_node *old_router);
+ int16_t new_hna_len, struct neigh_node *old_router);
void handler(int32_t sig);
void segmentation_fault(int32_t sig) NO_RETURN;
void restore_and_exit(uint8_t is_sigsegv) NO_RETURN;
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> --- batman/batman.c | 2 +- batman/os.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)