aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-10 13:10:00 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-10 13:10:00 +0000
commit1dc5f6e34cb0cf79b4aa03c11ffb6af837987ae3 (patch)
tree2c3626b1f6fe31ff310ac2e8fe954212f61200e4 /win/rfb_win32
parentdb6d999494feb62dcda4ea57721814c92de15033 (diff)
downloadtigervnc-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.cxx2
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;