aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--any_ini.h6
-rw-r--r--any_sexp.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/any_ini.h b/any_ini.h
index 9d9afe6..7e3c2c2 100644
--- a/any_ini.h
+++ b/any_ini.h
@@ -282,7 +282,7 @@ static bool any_ini_skip_pair(any_ini_t *ini, bool key)
#endif
if (ini->cursor != 0 && isspace(ini->source[ini->cursor - 1]))
return false;
- // fallthrough
+ /* fall through */
#endif
default:
@@ -396,7 +396,7 @@ static void any_ini_stream_skip(any_ini_stream_t *ini, bool comment)
return;
any_ini_stream_skip_line(ini);
- // fallthrough
+ /* fall through */
// Discard the current line
case '\n':
@@ -456,7 +456,7 @@ static char *any_ini_stream_until(any_ini_stream_t *ini, size_t start, char c)
done = true;
break;
}
- // fallthrough
+ /* fall through */
#endif
default:
if (ini->buffer[ini->cursor] == c) {
diff --git a/any_sexp.h b/any_sexp.h
index 5c88dc4..3c47430 100644
--- a/any_sexp.h
+++ b/any_sexp.h
@@ -288,7 +288,7 @@ static void any_sexp_reader_skip(any_sexp_reader_t *reader)
}
}
-static char any_sexp_reader_string_getc(any_sexp_reader_string_t *string)
+static int any_sexp_reader_string_getc(any_sexp_reader_string_t *string)
{
return string->cursor < string->length
? string->source[string->cursor++]