$OpenBSD: patch-src_stream_c,v 1.3 2004/09/18 23:58:30 pvalchev Exp $
--- src/stream.c.orig	Fri Aug 30 08:46:50 2002
+++ src/stream.c	Sat Sep 18 17:52:21 2004
@@ -284,7 +284,7 @@ int stream_readline(int* buf, int len, l
   if (machine.script_on)
     {
       int pos = 0;
-      char rc;
+      int rc;
       static const int nl[] = { '\n', 0 };
 
       display_update();
