LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File comparison-is-always-false-due-to-limited-range-of-data-type.patch of Package VFlib3 (Project M17N)

--- VFlib3-3.6.13/src/sexp.c
+++ VFlib3-3.6.13/src/sexp.c
@@ -708,7 +708,7 @@
 
 
 static int  vf_sexp_do_read_from_stream(SEXP_STREAM stream, SEXP sexp);
-static int  vf_sexp_read_str(SEXP_STREAM stream, char ch, SEXP sexp);
+static int  vf_sexp_read_str(SEXP_STREAM stream, int ch, SEXP sexp);
 static int  vf_sexp_skip(SEXP_STREAM stream);
 static char vf_get_char_esc(char **pp, SEXP_STREAM stream);
 #define  NBUFFER_MIN    2*1024
@@ -788,7 +788,7 @@
 }
 
 static int
-vf_sexp_read_str(SEXP_STREAM stream, char ch, SEXP s)
+vf_sexp_read_str(SEXP_STREAM stream, int ch, SEXP s)
 {
   char         tmp[8];
   int          ch1, dq_str;