GBA Config: const-correctness
Jeffrey Pfau jeffrey@endrift.com
Wed, 05 Nov 2014 02:34:51 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/util/configuration.c
→
src/util/configuration.c
@@ -102,7 +102,7 @@ return true;
} bool ConfigurationWriteSection(const struct Configuration* configuration, const char* path, const char* section) { - struct Table* currentSection = &configuration->root; + const struct Table* currentSection = &configuration->root; int fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0666); if (fd < 0) { return false;