From a89eae99f6b01c30a57fdbd9e4e541afee9e84af Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 30 Jun 2009 23:14:18 -0500 Subject: Fix compile warning fail on older versions of GCC Signed-off-by: Dan McGee --- lib/libalpm/md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm') diff --git a/lib/libalpm/md5.c b/lib/libalpm/md5.c index 413af3f3..767e1665 100644 --- a/lib/libalpm/md5.c +++ b/lib/libalpm/md5.c @@ -248,7 +248,7 @@ static inline void md5_update( md5_context *ctx, unsigned char *input, int ilen } } -static const unsigned char md5_padding[64] = +static unsigned char md5_padding[64] = { 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- cgit v1.2.3-70-g09d2