From: enikey Date: Wed, 24 Dec 2008 07:06:02 +0000 (+0000) Subject: [BugFix] Removed type casting from int to byte in method writeByte(int). X-Git-Tag: v0.0.90~230 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7b0c8aa7c18c7e03191a537d27f2dcfb96c83be4;p=tigervnc.git [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 --- 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); } }