From defc1bba1dbc3c5720c31d0fe483de90e04935f9 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 6 Nov 2012 16:05:24 +0100 Subject: Fixed compilation issues on Windows. --- src/platforms/windows/windowsHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/platforms/windows/windowsHandler.cpp') diff --git a/src/platforms/windows/windowsHandler.cpp b/src/platforms/windows/windowsHandler.cpp index 824589b7..9a3a85e3 100644 --- a/src/platforms/windows/windowsHandler.cpp +++ b/src/platforms/windows/windowsHandler.cpp @@ -241,7 +241,7 @@ unsigned int windowsHandler::getProcessId() const } -unsigned int windowsHandler::getThreadId() cont +unsigned int windowsHandler::getThreadId() const { return static_cast (::GetCurrentThreadId()); } @@ -289,7 +289,7 @@ void windowsHandler::generateRandomBytes(unsigned char* buffer, const unsigned i } -ref posixHandler::createCriticalSection() +ref windowsHandler::createCriticalSection() { return vmime::create (); } -- cgit v1.2.3