From: Peter Åstrand Date: Wed, 10 Dec 2008 13:10:00 +0000 (+0000) Subject: printf does not accept CStr()s X-Git-Tag: v0.0.90~303 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1dc5f6e34cb0cf79b4aa03c11ffb6af837987ae3;p=tigervnc.git printf does not accept CStr()s git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3366 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/rfb_win32/Win32Util.cxx b/win/rfb_win32/Win32Util.cxx index 5c283dfa..02fbbba5 100644 --- a/win/rfb_win32/Win32Util.cxx +++ b/win/rfb_win32/Win32Util.cxx @@ -71,7 +71,7 @@ const TCHAR* FileVersionInfo::getVerString(const TCHAR* name, DWORD langId) { TCHAR* buffer = 0; UINT length = 0; if (!VerQueryValue(buf, infoName.buf, (void**)&buffer, &length)) { - printf("unable to find %s version string", CStr(infoName.buf)); + printf("unable to find %s version string", infoName.buf); throw rdr::Exception("VerQueryValue failed"); } return buffer;