From be83d93a27d4490f5789c51b6113ca314b83a0be Mon Sep 17 00:00:00 2001 From: Alcaro Date: Sat, 29 Oct 2016 11:58:57 +0200 Subject: [PATCH] Merge non-broken parts of #3892 --- cheevos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheevos.c b/cheevos.c index 83a1fb18e8..c283c537d8 100644 --- a/cheevos.c +++ b/cheevos.c @@ -1825,7 +1825,7 @@ static size_t cheevos_eval_md5( if (info->size - offset < max_size) max_size = info->size - offset; - MD5_Update(ctx, (void*)(uint8_t*)info->data + offset, max_size); + MD5_Update(ctx, (void*)((uint8_t*)info->data + offset), max_size); return max_size; } else