Commit 258d95c4 authored by Jim Evins's avatar Jim Evins

Fix portability issue due to signedness of char.

parent 55d2e6fc
......@@ -421,7 +421,7 @@ gl_read_encoding(FILE* fp) {
* g_iconv is used to convert input characters to GDK-standard UTF8 format.
*/
static gchar
static gint
gl_getc(glMergeText *merge_text) {
if (merge_text->priv->buf_pos < merge_text->priv->buf_len) {
return merge_text->priv->char_buf[merge_text->priv->buf_pos++];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment