summaryrefslogtreecommitdiffstats
path: root/src/file_swf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-03-23 19:23:23 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2013-03-23 19:23:23 +0100
commitc5a5351ace941b01cf515f78b046d07ebbae4de0 (patch)
tree1e4f22bcb19770f471963dec5c263b27afb4e2b7 /src/file_swf.c
parent952ccd7f04d4488bd0f7996e71f389bbfd054494 (diff)
src/file_swf.c: fix compilation warning
Diffstat (limited to 'src/file_swf.c')
-rw-r--r--src/file_swf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_swf.c b/src/file_swf.c
index 62f04c1..7126b42 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 */