From 7b0c8aa7c18c7e03191a537d27f2dcfb96c83be4 Mon Sep 17 00:00:00 2001 From: enikey Date: Wed, 24 Dec 2008 07:06:02 +0000 Subject: [PATCH] [BugFix] Removed type casting from int to byte in method writeByte(int). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3454 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/src/com/tightvnc/vncviewer/RecordOutputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/tightvnc/vncviewer/RecordOutputStream.java b/java/src/com/tightvnc/vncviewer/RecordOutputStream.java index 31ab2620..96baa0a6 100644 --- a/java/src/com/tightvnc/vncviewer/RecordOutputStream.java +++ b/java/src/com/tightvnc/vncviewer/RecordOutputStream.java @@ -28,7 +28,7 @@ public class RecordOutputStream implements DataOutput { public void writeByte(int v) throws IOException { if (recordInterface.canWrite()) { - recordInterface.writeByte((byte)v); + recordInterface.writeByte(v); } } -- 2.39.5