]> source.dussan.org Git - tigervnc.git/commitdiff
[BugFix] Removed type casting from int to byte in method writeByte(int).
authorenikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Wed, 24 Dec 2008 07:06:02 +0000 (07:06 +0000)
committerenikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Wed, 24 Dec 2008 07:06:02 +0000 (07:06 +0000)
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

index 31ab26205cda6d78944c4ca2276e7ac914fd4f67..96baa0a68769e9c5919e6db4100d9ccaf91768e0 100644 (file)
@@ -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);
     }
   }