summaryrefslogtreecommitdiffstats
path: root/src/file_swf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-06-01 18:06:35 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-06-01 18:06:35 +0200
commit65dbe3d4baf4d486bb8119ec197a20697ba4ca28 (patch)
tree1ed5c06affe799b8c4d8efd188a5b4197c6b9dcf /src/file_swf.c
parent8ab840414394e1e8454413485c578d75fd8ab68f (diff)
constify more variables
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 7d93ca4..8315640 100644
--- a/src/file_swf.c
+++ b/src/file_swf.c
@@ -48,7 +48,7 @@ const file_hint_t file_hint_swf= {
static int read_SB(const unsigned char **data, unsigned int *offset_bit, unsigned int nbit)
{
int res=0;
- unsigned int sign=((**data) >>(7 - (*offset_bit)))&1;
+ const unsigned int sign=((**data) >>(7 - (*offset_bit)))&1;
while(nbit>1)
{
(*offset_bit)++;