From 4a368ab9059fef78eb9c664052eab92cd6ea6096 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 22 Jan 2018 10:48:55 -0800 Subject: Fix the return type of the al_fwrite wrapper --- utils/openal-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/openal-info.c b/utils/openal-info.c index 617550f2..12dc6311 100644 --- a/utils/openal-info.c +++ b/utils/openal-info.c @@ -81,7 +81,7 @@ static void al_fprintf(FILE *file, const char *fmt, ...) #define fprintf al_fprintf #define printf(...) al_fprintf(stdout, __VA_ARGS__) -static int al_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *file) +static size_t al_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *file) { char str[1024]; WCHAR *wstr; -- cgit v1.2.3