Commit 308f69a9 authored by Alessandro Ghedini's avatar Alessandro Ghedini

Merge tag 'upstream/2.2.1'

Upstream version 2.2.1
parents 366b089c 9cbcad47
...@@ -147,12 +147,12 @@ typedef struct _flo { ...@@ -147,12 +147,12 @@ typedef struct _flo {
#define floindex(x) (x.i) #define floindex(x) (x.i)
static int static unsigned int
flogetc(FLO *f) flogetc(FLO *f)
{ {
if ( f && f->t ) { if ( f && f->t ) {
if ( f->i < S(f->t->text) ) if ( f->i < S(f->t->text) )
return T(f->t->text)[f->i++]; return (unsigned char)T(f->t->text)[f->i++];
f->t = f->t->next; f->t = f->t->next;
f->i = 0; f->i = 0;
return flogetc(f); return flogetc(f);
......
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