From 90f60801f8508807b6d9b146a5e12bd42745edc0 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Thu, 11 Dec 2008 14:52:19 +0000 Subject: some type fixes --- src/connectionList.cpp | 4 ++-- src/routingTable.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/connectionList.cpp b/src/connectionList.cpp index d272a03..a0d4abf 100644 --- a/src/connectionList.cpp +++ b/src/connectionList.cpp @@ -116,12 +116,12 @@ ConnectionParam & ConnectionList::getOrNewConnectionUnlocked(u_int16_t mux) if(it!=connections_.end()) return it->second; - uint8_t key[] = { + u_int8_t key[] = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p' }; - uint8_t salt[] = { + u_int8_t salt[] = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n' }; 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; -- cgit v1.2.3