From 64296f5eaa638a0625c0a0ade3dac4d710334d48 Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Mon, 19 Oct 2015 10:17:12 -0400 Subject: Fixed hash routines to use 'unsigned char' for reliability under all compilers. Fixed preprocessor macro MKDIR to work in MinGW32. --- rfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rfile.c') diff --git a/rfile.c b/rfile.c index abf4d58..ecfacf6 100644 --- a/rfile.c +++ b/rfile.c @@ -31,7 +31,7 @@ int get_file_hash(const char *filename, char *hash) { FILE *fp; MD5_CTX hb; -char buf[16]; +unsigned char buf[16]; int i; if(filename == NULL || hash == NULL) -- cgit v1.2.3