X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d1af83598f7d6b32516a11bb28e569d592a05c48..13559da6973c1cd590467eec74fda18717fe0116:/src/src/auths/sha1.c diff --git a/src/src/auths/sha1.c b/src/src/auths/sha1.c index 67a11912e..a92bb71d1 100644 --- a/src/src/auths/sha1.c +++ b/src/src/auths/sha1.c @@ -62,15 +62,15 @@ Returns: nothing void sha1_mid(sha1 *base, const uschar *text) { -register int i; -unsigned int A, B, C, D, E; -unsigned int W[80]; +int i; +uint A, B, C, D, E; +uint W[80]; base->length += 64; for (i = 0; i < 16; i++) { - W[i] = (text[0] << 24) | (text[1] << 16) | (text[2] << 8) | text[3]; + W[i] = ((uint)text[0] << 24) | (text[1] << 16) | (text[2] << 8) | text[3]; text += 4; }