diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2014-04-08 09:41:42 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2014-04-12 19:27:19 +0400 |
commit | da2bc91949a54865a684bcd059402a9aae8a3339 (patch) | |
tree | 0c0e8e706d488c37ca8721f41e8cd7486e7b51f3 /src/thirdparty/unrar/sha1.cpp | |
parent | 35a4d8b096cb86d1b4fc261352037b62fd30a0e8 (diff) |
Update Unrar to v5.1.2.
Diffstat (limited to 'src/thirdparty/unrar/sha1.cpp')
-rw-r--r-- | src/thirdparty/unrar/sha1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thirdparty/unrar/sha1.cpp b/src/thirdparty/unrar/sha1.cpp index 5f182e563..647a827ae 100644 --- a/src/thirdparty/unrar/sha1.cpp +++ b/src/thirdparty/unrar/sha1.cpp @@ -193,7 +193,7 @@ uint blen = ((uint)len)<<3; #ifdef BIG_ENDIAN if (!handsoff) { - unsigned char *d=data+i; + unsigned char *d=(unsigned char *)(data+i); for (int k=0;k<64;k+=4) { byte b0=d[k],b1=d[k+1]; |