diff options
author | Adam Tkac <atkac@redhat.com> | 2010-04-23 13:59:52 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2010-04-23 13:59:52 +0000 |
commit | 94d88c1799d6446c132a2ac7198601487d792099 (patch) | |
tree | a875eb50a160f77ffcbc2b27f3dd2b743368a2c5 /win/vncconfig | |
parent | 5a0caed91c3879413b23d6906341856d1cc31dc1 (diff) | |
download | tigervnc-94d88c1799d6446c132a2ac7198601487d792099.tar.gz tigervnc-94d88c1799d6446c132a2ac7198601487d792099.zip |
[Development] Define security types as rdr::U8 values.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4034 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/vncconfig')
-rw-r--r-- | win/vncconfig/Authentication.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/vncconfig/Authentication.h b/win/vncconfig/Authentication.h index f4b38f8c..24b71038 100644 --- a/win/vncconfig/Authentication.h +++ b/win/vncconfig/Authentication.h @@ -40,10 +40,10 @@ namespace rfb { : PropSheetPage(GetModuleHandle(0), MAKEINTRESOURCE(IDD_AUTHENTICATION)), regKey(rk) {} void initDialog() { CharArray sec_types_str(SSecurityFactoryStandard::sec_types.getData()); - std::list<int> sec_types = parseSecTypes(sec_types_str.buf); + std::list<rdr::U8> sec_types = parseSecTypes(sec_types_str.buf); useNone = useVNC = false; - std::list<int>::iterator i; + std::list<rdr::U8>::iterator i; for (i=sec_types.begin(); i!=sec_types.end(); i++) { if ((*i) == secTypeNone) useNone = true; else if ((*i) == secTypeVncAuth) useVNC = true; |