From 382f7ebc87fc0d1056e257b83963d1903f7e8d27 Mon Sep 17 00:00:00 2001 From: Michi Henning Date: Mon, 28 Oct 2002 06:25:27 +0000 Subject: First shot at porting to VC++ 2002. Code compiles, but suffers random crashes during the tests. --- cpp/src/IceUtil/ThreadException.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/IceUtil/ThreadException.cpp') diff --git a/cpp/src/IceUtil/ThreadException.cpp b/cpp/src/IceUtil/ThreadException.cpp index d4cee046c2b..7f7a0074acf 100644 --- a/cpp/src/IceUtil/ThreadException.cpp +++ b/cpp/src/IceUtil/ThreadException.cpp @@ -50,7 +50,7 @@ IceUtil::ThreadSyscallException::ice_print(ostream& os) const if(ok) { LPCTSTR msg = (LPCTSTR)lpMsgBuf; - assert(msg && strlen(msg) > 0); + assert(msg && strlen((char*)msg) > 0); os << msg; LocalFree(lpMsgBuf); } -- cgit v1.2.3