summaryrefslogtreecommitdiffstats
path: root/src/file_wdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_wdp.c')
-rw-r--r--src/file_wdp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_wdp.c b/src/file_wdp.c
index 7948cc6..0be5694 100644
--- a/src/file_wdp.c
+++ b/src/file_wdp.c
@@ -51,8 +51,8 @@ static int header_check_wdp(const unsigned char *buffer, const unsigned int buff
return 0;
reset_file_recovery(file_recovery_new);
file_recovery_new->extension="wdp";
- file_recovery_new->time=get_date_from_tiff_header((const TIFFHeader *)buffer, buffer_size);
- file_recovery_new->file_check=&file_check_tiff;
+ file_recovery_new->time=get_date_from_tiff_header(buffer, buffer_size);
+ file_recovery_new->file_check=&file_check_tiff_le;
return 1;
}