summaryrefslogtreecommitdiffstats
path: root/src/file_prt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_prt.c')
-rw-r--r--src/file_prt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_prt.c b/src/file_prt.c
index 59ccc5e..18b45f4 100644
--- a/src/file_prt.c
+++ b/src/file_prt.c
@@ -52,7 +52,7 @@ static void file_check_prt(file_recovery_t *file_recovery)
static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
{
reset_file_recovery(file_recovery_new);
- file_recovery_new->file_check=file_check_prt;
+ file_recovery_new->file_check=&file_check_prt;
file_recovery_new->extension=file_hint_prt.extension;
return 1;
}