diff options
author | Peter Åstrand <astrand@cendio.se> | 2008-12-10 13:10:00 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2008-12-10 13:10:00 +0000 |
commit | 1dc5f6e34cb0cf79b4aa03c11ffb6af837987ae3 (patch) | |
tree | 2c3626b1f6fe31ff310ac2e8fe954212f61200e4 /win/rfb_win32 | |
parent | db6d999494feb62dcda4ea57721814c92de15033 (diff) | |
download | tigervnc-1dc5f6e34cb0cf79b4aa03c11ffb6af837987ae3.tar.gz tigervnc-1dc5f6e34cb0cf79b4aa03c11ffb6af837987ae3.zip |
printf does not accept CStr()s
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3366 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32')
-rw-r--r-- | win/rfb_win32/Win32Util.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |