summaryrefslogtreecommitdiffstats
path: root/src/file_tph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_tph.c')
-rw-r--r--src/file_tph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_tph.c b/src/file_tph.c
index 36a7da3..d8ad62b 100644
--- a/src/file_tph.c
+++ b/src/file_tph.c
@@ -58,7 +58,7 @@ static int header_check_tph(const unsigned char *buffer, const unsigned int buff
if(!isprint(buffer[20]) || !isprint(buffer[21]) || !isprint(buffer[22]) || !isprint(buffer[23]))
return 0;
reset_file_recovery(file_recovery_new);
- file_recovery_new->file_check=file_check_tph;
+ file_recovery_new->file_check=&file_check_tph;
file_recovery_new->extension=file_hint_tph.extension;
return 1;
}