Fix potential bugs found by Coverity analysis

This commit is contained in:
William S Fulton 2014-03-20 07:23:40 +00:00
commit dcbd6e39e3

View file

@ -1557,7 +1557,7 @@ String *Scanner_get_raw_text_balanced(Scanner *s, int startchar, int endchar) {
char c; char c;
int old_line = s->line; int old_line = s->line;
String *old_text = Copy(s->text); String *old_text = Copy(s->text);
int position = Tell(s->str); long position = Tell(s->str);
int num_levels = 1; int num_levels = 1;
int state = 0; int state = 0;