From c5a5351ace941b01cf515f78b046d07ebbae4de0 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sat, 23 Mar 2013 19:23:23 +0100 Subject: [PATCH] src/file_swf.c: fix compilation warning --- src/file_swf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file_swf.c b/src/file_swf.c index 62f04c14..7126b422 100644 --- a/src/file_swf.c +++ b/src/file_swf.c @@ -77,7 +77,7 @@ static int header_check_swfc(const unsigned char *buffer, const unsigned int buf const unsigned int comprLen=(buffer_size<512?buffer_size:512)-8; const unsigned int uncomprLen=512-1; int err; - const unsigned char *data=&buffer_uncompr; + const unsigned char *data=(const unsigned char *)&buffer_uncompr; unsigned int offset_bit=5; unsigned int nbit; /* a twip is 1/20th of a logical pixel */