GBA Config: const-correctness

This commit is contained in:
Jeffrey Pfau 2014-11-05 02:34:51 -08:00
parent 50d76d9528
commit 0fd9e9ad0f
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ bool ConfigurationWrite(const struct Configuration* configuration, const char* p
}
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;