From 306541b31624a344db085bfee45e5d9343fc8dca Mon Sep 17 00:00:00 2001 From: hasso Date: Sat, 19 Feb 2005 17:58:40 +0000 Subject: * ospf_api.h: char isn't always signed, but it has to be it here. Fixes bugzilla #153. [backport candidate] --- ospfd/ChangeLog | 4 ++++ ospfd/ospf_api.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'ospfd') diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 97684781..f67c33c1 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,7 @@ +2005-02-19 Hasso Tepper + + * ospf_api.h: char isn't always signed, but it has to be it here. + 2005-02-19 Paul Jakma * ospf_packet.c: (ospf_stream_copy) remove diff --git a/ospfd/ospf_api.h b/ospfd/ospf_api.h index e7867614..77e1b23f 100644 --- a/ospfd/ospf_api.h +++ b/ospfd/ospf_api.h @@ -205,7 +205,7 @@ struct msg_delete_request struct msg_reply { - char errcode; + signed char errcode; #define OSPF_API_OK 0 #define OSPF_API_NOSUCHINTERFACE (-1) #define OSPF_API_NOSUCHAREA (-2) -- cgit v1.2.1