aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2011-05-17 21:30:11 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2011-05-17 21:30:11 +0000
commit2b072257c5124a8deee2e78da71554f7c68b8635 (patch)
treeb923e102849663e42664a24737660bc0feb1cf7b /java/src
parente7681415dd2f910e7e93de41eb9a4269898cd6a6 (diff)
downloadtigervnc-2b072257c5124a8deee2e78da71554f7c68b8635.tar.gz
tigervnc-2b072257c5124a8deee2e78da71554f7c68b8635.zip
fixed bug in java viewer when disabling security types
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4428 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/tigervnc/rfb/Security.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/tigervnc/rfb/Security.java b/java/src/com/tigervnc/rfb/Security.java
index 5e572e3f..95a66c3d 100644
--- a/java/src/com/tigervnc/rfb/Security.java
+++ b/java/src/com/tigervnc/rfb/Security.java
@@ -118,7 +118,7 @@ public class Security {
return false;
}
- public static void DisableSecType(int secType) { enabledSecTypes.remove(secType); }
+ public static void DisableSecType(int secType) { enabledSecTypes.remove((Object)secType); }
public static int secTypeNum(String name) {
if (name.equalsIgnoreCase("None")) return secTypeNone;