shithub: pokecrystal

Download patch

ref: 6130fc5cd6b002f827d307c64a432e960629cb9b
parent: 610bac37ac8acb4c63534030f271b1e2fae24ddf
parent: ef5e4e43c7cc0aaf510f348893258eec24440bdd
author: yenatch <yenatch@gmail.com>
date: Thu Jun 7 07:09:30 EDT 2018

Merge pull request #521 from mid-kid/master

Fix md5.c for Windows

--- a/tools/md5.c
+++ b/tools/md5.c
@@ -39,7 +39,7 @@
 	uint8_t *message = calloc(length + 64, sizeof(uint8_t));
 	memcpy(message, data, length);
 
-	long orig_bitlength = length * 8;
+	int64_t orig_bitlength = length * 8;
 
 	message[length++] |= 1 << 7;