From 1dc5f6e34cb0cf79b4aa03c11ffb6af837987ae3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand?= Date: Wed, 10 Dec 2008 13:10:00 +0000 Subject: [PATCH] printf does not accept CStr()s git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3366 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- win/rfb_win32/Win32Util.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5