diff options
author | yenatch <yenatch@gmail.com> | 2018-06-07 11:09:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 11:09:30 -0400 |
commit | 6130fc5cd6b002f827d307c64a432e960629cb9b (patch) | |
tree | 47b1c121786d5d738b88fec99243e3914f34b5c7 | |
parent | 610bac37ac8acb4c63534030f271b1e2fae24ddf (diff) | |
parent | ef5e4e43c7cc0aaf510f348893258eec24440bdd (diff) |
Merge pull request #521 from mid-kid/master
Fix md5.c for Windows
-rw-r--r-- | tools/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/md5.c b/tools/md5.c index 45562330a..6f4f58d2d 100644 --- a/tools/md5.c +++ b/tools/md5.c @@ -39,7 +39,7 @@ void md5_wikipedia(uint8_t *data, int length, uint8_t *result) { 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; |