summaryrefslogtreecommitdiffstats
path: root/src/file_asm.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2017-04-03 18:08:49 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2017-04-03 18:08:49 +0200
commita2736fe5ebd1e39a22ed32ac06177a2bc7d014ce (patch)
tree62bfd51077aa81cb13f021f1dcc16f7d7cb6b78d /src/file_asm.c
parent3a0f3c7fbf7c39452a5d756ddb591e54ff567867 (diff)
Use explicit function adresses
See MISRA C:2004, 16.9
Diffstat (limited to 'src/file_asm.c')
-rw-r--r--src/file_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_asm.c b/src/file_asm.c
index 7d152b0..6026c74 100644
--- a/src/file_asm.c
+++ b/src/file_asm.c
@@ -59,7 +59,7 @@ static int header_check_asm(const unsigned char *buffer, const unsigned int buff
if(!isprint(buffer[16]) || !isprint(buffer[17]) || !isprint(buffer[18]) || !isprint(buffer[19]))
return 0;
reset_file_recovery(file_recovery_new);
- file_recovery_new->file_check=file_check_asm;
+ file_recovery_new->file_check=&file_check_asm;
file_recovery_new->extension=file_hint_asm.extension;
return 1;
}