Turns out this is char*, let's cast because CXX_BUILD wants that

This commit is contained in:
Alcaro 2017-12-04 15:01:58 +01:00 committed by GitHub
parent fbd3a435d2
commit ff4dca86f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -923,7 +923,7 @@ bool config_file_write(config_file_t *conf, const char *path)
/* TODO: this is only useful for a few platforms, find which and add ifdef */
buf = calloc(1, 0x4000);
setvbuf(file, buf, _IOFBF, 0x4000);
setvbuf(file, (char*)buf, _IOFBF, 0x4000);
config_file_dump(conf, file);
}