diff src/de/mud/terminal/vt320.java @ 72:8181cb01c64d tn5250

use 5250 encryption config entry
author Carl Byington <carl@five-ten-sg.com>
date Fri, 13 Jun 2014 19:15:26 -0700
parents 7ae9b0c382ec
children 171e0a977544
line wrap: on
line diff
--- a/src/de/mud/terminal/vt320.java	Fri Jun 13 19:13:05 2014 -0700
+++ b/src/de/mud/terminal/vt320.java	Fri Jun 13 19:15:26 2014 -0700
@@ -72,7 +72,7 @@
         // ignore line and column, just send the bytes to the host.
         int n = d.length;
         byte [] b = new byte [n];
-        for (int i=0; i<n; i++) b[i] = d[i] & 0x00ff;
+        for (int i=0; i<n; i++) b[i] = (byte)(d[i] & 0x00ff);
         write(b);
     }