aboutsummaryrefslogtreecommitdiffstats
path: root/utils/openal-info.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-22 10:48:55 -0800
committerChris Robinson <[email protected]>2018-01-22 10:48:55 -0800
commit4a368ab9059fef78eb9c664052eab92cd6ea6096 (patch)
tree8d9087c62b842ed0b1a5c48a28a80cf69e89acda /utils/openal-info.c
parentf1f7fba3b97c9523a6bd9a12d0edf799f457b602 (diff)
Fix the return type of the al_fwrite wrapper
Diffstat (limited to 'utils/openal-info.c')
-rw-r--r--utils/openal-info.c2
1 files changed, 1 insertions, 1 deletions
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;