diff options
Diffstat (limited to 'src/routingTable.cpp')
-rw-r--r-- | src/routingTable.cpp | 4 |
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; |