Fix the return type of the al_fwrite wrapper

This commit is contained in:
Chris Robinson
2018-01-22 10:48:55 -08:00
parent f1f7fba3b9
commit 4a368ab905
+1 -1
View File
@@ -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;