From 10267b58993b50fbb7afa20a8e06f217632b45b5 Mon Sep 17 00:00:00 2001 From: Aleksandar Fabijanic Date: Thu, 6 Sep 2012 03:41:21 +0000 Subject: [PATCH] SF#3563517: Get rid of loss-of-precision warnings on x64 MacOS --- Foundation/include/Poco/Thread_POSIX.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Foundation/include/Poco/Thread_POSIX.h b/Foundation/include/Poco/Thread_POSIX.h index 45a7689a7..e9da535b1 100644 --- a/Foundation/include/Poco/Thread_POSIX.h +++ b/Foundation/include/Poco/Thread_POSIX.h @@ -215,7 +215,7 @@ inline void ThreadImpl::yieldImpl() inline int ThreadImpl::getStackSizeImpl() const { - return _pData->stackSize; + return static_cast(_pData->stackSize); }