Get rid of compiler warning on 64-bit
This commit is contained in:
parent
ae2c876e0e
commit
3ef6a57908
|
@ -621,10 +621,14 @@ MarkupIterator_next(MarkupIterator *self, int *is_markup, SubString *literal,
|
||||||
at_end = self->str.ptr >= self->str.end;
|
at_end = self->str.ptr >= self->str.end;
|
||||||
len = self->str.ptr - start;
|
len = self->str.ptr - start;
|
||||||
|
|
||||||
if ((c == '}') && (at_end || (c != *self->str.ptr)))
|
if ((c == '}') && (at_end || (c != *self->str.ptr))) {
|
||||||
return (int)SetError("Single } encountered");
|
SetError("Single } encountered");
|
||||||
if (at_end && c == '{')
|
return 0;
|
||||||
return (int)SetError("Single { encountered");
|
}
|
||||||
|
if (at_end && c == '{') {
|
||||||
|
SetError("Single { encountered");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
if (!at_end) {
|
if (!at_end) {
|
||||||
if (c == *self->str.ptr) {
|
if (c == *self->str.ptr) {
|
||||||
/* escaped } or {, skip it in the input */
|
/* escaped } or {, skip it in the input */
|
||||||
|
|
Loading…
Reference in New Issue