From 4e46da7f9db10a6b90e99560ea94e3e197d6bd41 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand?= Date: Wed, 10 Dec 2008 12:11:10 +0000 Subject: [PATCH] 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 --- win/rfb_win32/RegConfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5