summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/anyConfOptions.h2
-rw-r--r--src/datatypes.h12
2 files changed, 9 insertions, 5 deletions
diff --git a/src/anyConfOptions.h b/src/anyConfOptions.h
index 55dffa3..fdcec70 100644
--- a/src/anyConfOptions.h
+++ b/src/anyConfOptions.h
@@ -40,7 +40,7 @@
typedef struct
{
std::string net_addr;
- uint16_t prefix_length;
+ u_int16_t prefix_length;
} OptionRoute;
typedef std::list<OptionRoute> RouteList;
diff --git a/src/datatypes.h b/src/datatypes.h
index ee6e80c..0fc9ae2 100644
--- a/src/datatypes.h
+++ b/src/datatypes.h
@@ -34,10 +34,14 @@
#include<boost/cstdint.hpp>
-typedef uint8_t u_int8_t;
-typedef uint16_t u_int16_t;
-typedef uint32_t u_int32_t;
-typedef uint64_t u_int64_t;
+typedef boost::uint8_t u_int8_t;
+typedef boost::uint16_t u_int16_t;
+typedef boost::uint32_t u_int32_t;
+typedef boost::uint64_t u_int64_t;
+typedef boost::int8_t int8_t;
+typedef boost::int16_t int16_t;
+typedef boost::int32_t int32_t;
+typedef boost::int64_t int64_t;
typedef u_int32_t window_size_t;