From: Peter Åstrand Date: Wed, 10 Dec 2008 12:11:10 +0000 (+0000) Subject: Bugfix: X-Git-Tag: v0.0.90~308 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4e46da7f9db10a6b90e99560ea94e3e197d6bd41;p=tigervnc.git 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 --- 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)