Warning fix
authorSteve McIntyre <steve@einval.com>
Sun, 13 Jun 2010 22:23:06 +0000 (23:23 +0100)
committerSteve McIntyre <steve@einval.com>
Sun, 13 Jun 2010 22:23:06 +0000 (23:23 +0100)
jigsum.c

index 79d926f..422797c 100644 (file)
--- a/jigsum.c
+++ b/jigsum.c
@@ -67,7 +67,7 @@ static int md5_file(char *filename)
         used = fread(buf, 1, BUF_SIZE, file);
         bytes_read += used;
         if (used)
-            mk_MD5Update(&file_context, buf, used);
+            mk_MD5Update(&file_context, (unsigned char *)buf, used);
         else
         {
             if (ferror(file) && (EISDIR != errno))