aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
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;