all repos — mgba @ 0fd9e9ad0fd16777e2aff75b027be010cafcc865

mGBA Game Boy Advance Emulator

GBA Config: const-correctness
Jeffrey Pfau jeffrey@endrift.com
Wed, 05 Nov 2014 02:34:51 -0800
commit

0fd9e9ad0fd16777e2aff75b027be010cafcc865

parent

50d76d952891c2a981b17732160229d901c9fd0a

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/util/configuration.csrc/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;