diff options
author | Michi Henning <michi@zeroc.com> | 2002-10-28 06:25:27 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-10-28 06:25:27 +0000 |
commit | 382f7ebc87fc0d1056e257b83963d1903f7e8d27 (patch) | |
tree | 4c390abfa4a5d507ae044106619b5533232d2b14 /cpp/src/Ice/Network.cpp | |
parent | changing Mutable Realms to ZeroC (diff) | |
download | ice-382f7ebc87fc0d1056e257b83963d1903f7e8d27.tar.bz2 ice-382f7ebc87fc0d1056e257b83963d1903f7e8d27.tar.xz ice-382f7ebc87fc0d1056e257b83963d1903f7e8d27.zip |
First shot at porting to VC++ 2002. Code compiles, but suffers random
crashes during the tests.
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r-- | cpp/src/Ice/Network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp index 438c22dc958..7467b164511 100644 --- a/cpp/src/Ice/Network.cpp +++ b/cpp/src/Ice/Network.cpp @@ -743,8 +743,8 @@ IceInternal::errorToString(int error) if(ok) { LPCTSTR msg = (LPCTSTR)lpMsgBuf; - assert(msg && strlen(msg) > 0); - string result = msg; + assert(msg && strlen((const char*)msg) > 0); + string result = (const char*)msg; LocalFree(lpMsgBuf); return result; } |