summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2005-02-19 17:58:40 +0000
committerhasso <hasso>2005-02-19 17:58:40 +0000
commit306541b31624a344db085bfee45e5d9343fc8dca (patch)
tree1f57f3f14b7463596acb95728a4185aa72899133
parentc45eb839ae2aac88372180fda8ce90dc1abefe2f (diff)
* ospf_api.h: char isn't always signed, but it has to be it here.
Fixes bugzilla #153. [backport candidate]
-rw-r--r--ospfd/ChangeLog4
-rw-r--r--ospfd/ospf_api.h2
2 files changed, 5 insertions, 1 deletions
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 <hasso at quagga.net>
+
+ * ospf_api.h: char isn't always signed, but it has to be it here.
+
2005-02-19 Paul Jakma <paul.jakma@sun.com>
* 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)