diff options
author | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-16 20:15:14 +0000 |
---|---|---|
committer | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-16 20:15:14 +0000 |
commit | 15817208aae1c80e2b03668981ac9268d6a02dde (patch) | |
tree | 46738a78648f0c1558cff30ec6008f603cbf3692 | |
parent | ff13d00eb50a228e05c4c37b0757082ca8bc9e4a (diff) |
fixed a compile error on windows
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2765 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | src/core/enc_sha256.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/enc_sha256.c b/src/core/enc_sha256.c index 569f727e6..b37c574ec 100644 --- a/src/core/enc_sha256.c +++ b/src/core/enc_sha256.c @@ -86,10 +86,10 @@ class SHA256Context #define UNPACK32(x, str) \ { \ - *((str) + 3) = (uint8_t) ((x) ); \ - *((str) + 2) = (uint8_t) ((x) >> 8); \ - *((str) + 1) = (uint8_t) ((x) >> 16); \ - *((str) + 0) = (uint8_t) ((x) >> 24); \ + *((str) + 3) = (uint8) ((x) ); \ + *((str) + 2) = (uint8) ((x) >> 8); \ + *((str) + 1) = (uint8) ((x) >> 16); \ + *((str) + 0) = (uint8) ((x) >> 24); \ } #define PACK32(str, x) \ |