diff --git a/libretroshare/src/dht/p3bitdht_peernet.cc b/libretroshare/src/dht/p3bitdht_peernet.cc index e4c266279..3d13a591b 100644 --- a/libretroshare/src/dht/p3bitdht_peernet.cc +++ b/libretroshare/src/dht/p3bitdht_peernet.cc @@ -1101,7 +1101,7 @@ int p3BitDht::tick() minuteTick(); #ifdef DEBUG_PEERNET_COMMON - rstime_t now = time(NULL); + time_t now = time(NULL); // Don't use rstime_t here or ctime break on windows std::cerr << "p3BitDht::tick() TIME: " << ctime(&now) << std::endl; std::cerr.flush(); #endif diff --git a/libretroshare/src/upnp/upnputil.c b/libretroshare/src/upnp/upnputil.c index f71cde6c6..8e9177451 100644 --- a/libretroshare/src/upnp/upnputil.c +++ b/libretroshare/src/upnp/upnputil.c @@ -55,7 +55,7 @@ void DisplayInfos(struct UPNPUrls * urls, char lastconnerr[64]; unsigned int uptime; unsigned int brUp, brDown; - rstime_t timenow, timestarted; + time_t timenow, timestarted; // Don't use rstime_t here or ctime break on windows int r; #if MINIUPNPC_API_VERSION >= -2//1.4 2010/12/09 const char * servicetype = data->first.servicetype; diff --git a/libretroshare/src/util/rsdebug.cc b/libretroshare/src/util/rsdebug.cc index 76c8a0279..4c126b656 100644 --- a/libretroshare/src/util/rsdebug.cc +++ b/libretroshare/src/util/rsdebug.cc @@ -148,7 +148,7 @@ void rslog(const RsLog::logLvl lvl, RsLog::logInfo *info, const std::string &msg { RS_STACK_MUTEX(logMtx); - rstime_t t = time(NULL); + time_t t = time(NULL); // Don't use rstime_t here or ctime break on windows if (debugMode == RS_DEBUG_LOGCRASH) {