summaryrefslogtreecommitdiff
path: root/src/routingTable.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-12-11 14:52:19 +0000
committerOthmar Gsenger <otti@anytun.org>2008-12-11 14:52:19 +0000
commit90f60801f8508807b6d9b146a5e12bd42745edc0 (patch)
treee41b03d533d1666a349da49c07e94c8430690aa0 /src/routingTable.cpp
parentmainly type and define fixes (diff)
some type fixes
Diffstat (limited to 'src/routingTable.cpp')
-rw-r--r--src/routingTable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routingTable.cpp b/src/routingTable.cpp
index 409a5ab..e0641b1 100644
--- a/src/routingTable.cpp
+++ b/src/routingTable.cpp
@@ -104,10 +104,10 @@ u_int16_t* RoutingTable::getOrNewRoutingTEUnlocked(const NetworkPrefix & addr)
return &(it->second);
}
-uint16_t RoutingTable::getCountUnlocked()
+u_int16_t RoutingTable::getCountUnlocked()
{
RoutingMap::iterator it = routes_.begin();
- uint16_t routes=0;
+ u_int16_t routes=0;
for (;it!=routes_.end();++it)
routes++;
return routes;