summaryrefslogtreecommitdiff
path: root/rfile.c
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2015-10-19 10:17:12 -0400
committerJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2015-10-19 10:17:12 -0400
commit64296f5eaa638a0625c0a0ade3dac4d710334d48 (patch)
tree81863e3f3d4c3c2d2f09c60bd8b3574ea253ff93 /rfile.c
parent13de062ee44c87fd3792189f4cd9466ca20281c9 (diff)
downloadprism-master.tar.gz
prism-master.zip
Fixed hash routines to use 'unsigned char' for reliability under all compilers. Fixed preprocessor macro MKDIR to work in MinGW32.HEADmaster
Diffstat (limited to 'rfile.c')
-rw-r--r--rfile.c2
1 files changed, 1 insertions, 1 deletions
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)