summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhasso <hasso>2005-02-19 17:58:40 +0000
committerhasso <hasso>2005-02-19 17:58:40 +0000
commit59bbe0ee1e8b3c7de488706e91ff8ae81901b4d3 (patch)
treea8b8322f9278a3dc1a4b09899e223cd04b5e5568
parentb3da91f8aa2fec61dabe89484fba32031e906aa2 (diff)
downloadquagga-59bbe0ee1e8b3c7de488706e91ff8ae81901b4d3.tar.bz2
quagga-59bbe0ee1e8b3c7de488706e91ff8ae81901b4d3.tar.xz
* 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)