From ff4dca86f95ab0cf34004ddca9cacc353127bda4 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Mon, 4 Dec 2017 15:01:58 +0100 Subject: [PATCH] Turns out this is char*, let's cast because CXX_BUILD wants that --- libretro-common/file/config_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/file/config_file.c b/libretro-common/file/config_file.c index 67c0703ff6..66e03f3f7b 100644 --- a/libretro-common/file/config_file.c +++ b/libretro-common/file/config_file.c @@ -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); }