From 15817208aae1c80e2b03668981ac9268d6a02dde Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sat, 16 Jan 2010 20:15:14 +0000 Subject: [PATCH] fixed a compile error on windows git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2765 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/enc_sha256.c | 8 ++++---- 1 file 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) \