More brute-force casting to discourage sign extension

This commit is contained in:
david parsons
2016-09-21 13:24:51 -07:00
parent d6abfea928
commit d4b85ccf0c
+2 -2
View File
@@ -147,12 +147,12 @@ typedef struct _flo {
#define floindex(x) (x.i)
static int
static unsigned int
flogetc(FLO *f)
{
if ( f && f->t ) {
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->i = 0;
return flogetc(f);