mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-22 04:31:15 +00:00
Fix MD5 hashing for x86_64
This commit is contained in:
parent
ed4ee5a9f3
commit
cabae31075
2 changed files with 4 additions and 4 deletions
|
@ -257,9 +257,9 @@ void MD5_Final( MD5_CTX *ctx, unsigned char digest[16] ) {
|
|||
MD5_BlockChecksum
|
||||
===============
|
||||
*/
|
||||
unsigned long MD5_BlockChecksum( const void *data, int length ) {
|
||||
unsigned long digest[4];
|
||||
unsigned long val;
|
||||
unsigned int MD5_BlockChecksum( const void *data, int length ) {
|
||||
unsigned int digest[4];
|
||||
unsigned int val;
|
||||
MD5_CTX ctx;
|
||||
|
||||
MD5_Init( &ctx );
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
===============================================================================
|
||||
*/
|
||||
|
||||
unsigned long MD5_BlockChecksum( const void *data, int length );
|
||||
unsigned int MD5_BlockChecksum( const void *data, int length );
|
||||
|
||||
#endif /* !__MD5_H__ */
|
||||
|
|
Loading…
Reference in a new issue