summaryrefslogtreecommitdiffstats
path: root/win/rfb_win32
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-10 12:11:10 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-10 12:11:10 +0000
commit4e46da7f9db10a6b90e99560ea94e3e197d6bd41 (patch)
treed5aea65748cd5b030f4d0d225f4016dcfe6bfc6c /win/rfb_win32
parent5327f41e63a2962de2e5d7d3d47043cb1920e2a4 (diff)
downloadtigervnc-4e46da7f9db10a6b90e99560ea94e3e197d6bd41.tar.gz
tigervnc-4e46da7f9db10a6b90e99560ea94e3e197d6bd41.zip
Bugfix:
RegConfig.cxx:64: warning: cannot pass objects of non-POD type `struct rfb::CStr' through `...'; call will abort at runtime git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3361 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32')
-rw-r--r--win/rfb_win32/RegConfig.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/RegConfig.cxx b/win/rfb_win32/RegConfig.cxx
index ff944518..90980c33 100644
--- a/win/rfb_win32/RegConfig.cxx
+++ b/win/rfb_win32/RegConfig.cxx
@@ -61,7 +61,7 @@ void RegConfig::loadRegistryConfig(RegKey& key) {
if (!name.buf) break;
TCharArray value(key.getRepresentation(name.buf));
if (!value.buf || !Configuration::setParam(CStr(name.buf), CStr(value.buf)))
- vlog.info("unable to process %s", CStr(name.buf));
+ vlog.info("unable to process %s", name.buf);
}
} catch (rdr::SystemException& e) {
if (e.err != 6)