From 1e0b41f59226b2170e5dda9481ba0f2b560d048f Mon Sep 17 00:00:00 2001 From: simon987 Date: Fri, 10 Apr 2020 12:02:25 -0400 Subject: [PATCH] Update fastimagehash.cpp --- fastimagehash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastimagehash.cpp b/fastimagehash.cpp index f4cdbad..1e48e62 100644 --- a/fastimagehash.cpp +++ b/fastimagehash.cpp @@ -94,7 +94,7 @@ void *load_file_in_mem(const char *filepath, size_t *size) { } void *buf = malloc(info.st_size); - fread(buf, sizeof(char), info.st_size, file); + size_t _ = fread(buf, sizeof(char), info.st_size, file); *size = info.st_size; return buf;