Trying to fix an amd64 wierdness where mapchecks fail.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1556 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d9370fb715
commit
c62c5cfd30
2 changed files with 19 additions and 19 deletions
|
@ -326,7 +326,7 @@ void Info_SetValueForKey (char *s, const char *key, const char *value, int maxsi
|
||||||
void Info_SetValueForStarKey (char *s, const char *key, const char *value, int maxsize);
|
void Info_SetValueForStarKey (char *s, const char *key, const char *value, int maxsize);
|
||||||
void Info_Print (char *s);
|
void Info_Print (char *s);
|
||||||
|
|
||||||
unsigned Com_BlockChecksum (void *buffer, int length);
|
unsigned int Com_BlockChecksum (void *buffer, int length);
|
||||||
void Com_BlockFullChecksum (void *buffer, int len, unsigned char *outbuf);
|
void Com_BlockFullChecksum (void *buffer, int len, unsigned char *outbuf);
|
||||||
qbyte COM_BlockSequenceCheckByte (qbyte *base, int length, int sequence, unsigned mapchecksum);
|
qbyte COM_BlockSequenceCheckByte (qbyte *base, int length, int sequence, unsigned mapchecksum);
|
||||||
qbyte COM_BlockSequenceCRCByte (qbyte *base, int length, int sequence);
|
qbyte COM_BlockSequenceCRCByte (qbyte *base, int length, int sequence);
|
||||||
|
|
|
@ -41,9 +41,9 @@ typedef unsigned long int UINT4;
|
||||||
|
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
License to copy and use this software is granted provided that it is identified as the “RSA Data Security, Inc. MD4 Message-Digest Algorithm” in all material mentioning or referencing this software or this function.
|
License to copy and use this software is granted provided that it is identified as the RSA Data Security, Inc. MD4 Message-Digest Algorithm in all material mentioning or referencing this software or this function.
|
||||||
License is also granted to make and use derivative works provided that such works are identified as “derived from the RSA Data Security, Inc. MD4 Message-Digest Algorithm” in all material mentioning or referencing the derived work.
|
License is also granted to make and use derivative works provided that such works are identified as derived from the RSA Data Security, Inc. MD4 Message-Digest Algorithm in all material mentioning or referencing the derived work.
|
||||||
RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided “as is” without express or implied warranty of any kind.
|
RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided as is without express or implied warranty of any kind.
|
||||||
|
|
||||||
These notices must be retained in any copies of any part of this documentation and/or software. */
|
These notices must be retained in any copies of any part of this documentation and/or software. */
|
||||||
|
|
||||||
|
@ -281,10 +281,10 @@ for (i = 0, j = 0; j < len; i++, j += 4)
|
||||||
|
|
||||||
//===================================================================
|
//===================================================================
|
||||||
|
|
||||||
unsigned Com_BlockChecksum (void *buffer, int length)
|
unsigned int Com_BlockChecksum (void *buffer, int length)
|
||||||
{
|
{
|
||||||
int digest[4];
|
unsigned int digest[4];
|
||||||
unsigned val;
|
unsigned int val;
|
||||||
MD4_CTX ctx;
|
MD4_CTX ctx;
|
||||||
|
|
||||||
MD4Init (&ctx);
|
MD4Init (&ctx);
|
||||||
|
|
Loading…
Reference in a new issue