summaryrefslogtreecommitdiffstats
path: root/win/vncconfig
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-09-15 11:37:50 +0000
committerAdam Tkac <atkac@redhat.com>2010-09-15 11:37:50 +0000
commita35b500a23ef129eafed2db2fc932132a7f61968 (patch)
treeb9504d448c5e1e945a16ac8c7725a034d1cb3caf /win/vncconfig
parenta0d90c9d2d4b578e8ac0914ba4b41657ec013a53 (diff)
downloadtigervnc-a35b500a23ef129eafed2db2fc932132a7f61968.tar.gz
tigervnc-a35b500a23ef129eafed2db2fc932132a7f61968.zip
[Bugfix] Fix vncconfig.exe compilation (broken since r4123).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4132 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/vncconfig')
-rw-r--r--win/vncconfig/Authentication.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/vncconfig/Authentication.h b/win/vncconfig/Authentication.h
index cae97190..90bf08c3 100644
--- a/win/vncconfig/Authentication.h
+++ b/win/vncconfig/Authentication.h
@@ -40,11 +40,11 @@ namespace rfb {
AuthenticationPage(const RegKey& rk)
: PropSheetPage(GetModuleHandle(0), MAKEINTRESOURCE(IDD_AUTHENTICATION)), regKey(rk) {}
void initDialog() {
- CharArray sec_types_str(Security::secTypes.getData());
- std::list<rdr::U8> sec_types = parseSecTypes(sec_types_str.buf);
+ CharArray sec_types_str(Security::secTypesServer.getData());
+ std::list<rdr::U32> sec_types = parseSecTypes(sec_types_str.buf);
useNone = useVNC = false;
- std::list<rdr::U8>::iterator i;
+ std::list<rdr::U32>::iterator i;
for (i=sec_types.begin(); i!=sec_types.end(); i++) {
if ((*i) == secTypeNone) useNone = true;
else if ((*i) == secTypeVncAuth) useVNC = true;