$OpenBSD: patch-src_d_text_c,v 1.2 2019/11/13 15:26:47 fcambus Exp $

Index: src/d_text.c
--- src/d_text.c.orig
+++ src/d_text.c
@@ -2166,7 +2166,7 @@ static void
 paste_preedit_proc(int x, int y)
 {
   FILE *fp;
-  char ch;
+  int ch;
   if (!is_preedit_running()) {
     open_preedit_proc(x, y);
   } else if ((fp = fopen(preedit_filename, "r")) != NULL) {
