summaryrefslogtreecommitdiffstats
path: root/src/file_fh5.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_fh5.c
parent3a0f3c7fbf7c39452a5d756ddb591e54ff567867 (diff)
Use explicit function adresses
See MISRA C:2004, 16.9
Diffstat (limited to 'src/file_fh5.c')
-rw-r--r--src/file_fh5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_fh5.c b/src/file_fh5.c
index c322694..63a39f0 100644
--- a/src/file_fh5.c
+++ b/src/file_fh5.c
@@ -67,7 +67,7 @@ static int header_check_fh5(const unsigned char *buffer, const unsigned int buff
file_recovery_new->min_filesize=4096;
file_recovery_new->calculated_file_size=be32(fh5_buffer->datalen);
file_recovery_new->extension=file_hint_fh5.extension;
- file_recovery_new->file_check=file_check_fh5;
+ file_recovery_new->file_check=&file_check_fh5;
// log_debug("header_check_fh5: Guessed length : %u\n", fh5_file_size);
return 1;
}