From d03ce027880513c327d768bc19f91c87a80dd393 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 22 Sep 2017 04:59:20 +0200 Subject: [PATCH] Update deps/libFLAC --- deps/libFLAC/md5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/libFLAC/md5.c b/deps/libFLAC/md5.c index e9013a9a3f..0d0ac5d15b 100644 --- a/deps/libFLAC/md5.c +++ b/deps/libFLAC/md5.c @@ -499,8 +499,8 @@ FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const return false; if (ctx->capacity < bytes_needed) { - if (0 == (ctx->internal_buf.p8 = safe_realloc_(ctx->internal_buf.p8, bytes_needed))) { - if (0 == (ctx->internal_buf.p8 = safe_malloc_(bytes_needed))) { + if (0 == (ctx->internal_buf.p8 = (FLAC__byte*)safe_realloc_(ctx->internal_buf.p8, bytes_needed))) { + if (0 == (ctx->internal_buf.p8 = (FLAC__byte*)safe_malloc_(bytes_needed))) { ctx->capacity = 0; return false; }