diff options
author | pommicket <pommicket@gmail.com> | 2023-10-19 11:41:44 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-10-19 11:41:44 -0400 |
commit | 58ec097fc9fe0989baebe52e4b899878df4128f2 (patch) | |
tree | 398cd0ec65f5436cdb0b3ecb472625c95c3aafba /config.c | |
parent | b61462368b091c0ea1c495e1f17d22ae81b0e163 (diff) |
fix windows build
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -961,7 +961,7 @@ static void config_compile_regex(Config *cfg, ConfigReader *reader) { char fixed[8192]; // replace forward slashes with backslashes // (but actually double backslashes because this is a regex) - for (size_t in = 0, out = 0; out < sizeof fixed - 4 && regex[in]; ++in) + for (size_t in = 0, out = 0; out < sizeof fixed - 4 && regex[in]; ++in) { if (regex[in] == '/') { fixed[out++] = '\\'; fixed[out++] = '\\'; |