summaryrefslogtreecommitdiffstats
path: root/src/file_wdp.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2019-11-16 16:22:04 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2019-11-16 16:22:04 +0100
commite474cb0c6e01f195176d69a82ea2c97f021142b1 (patch)
tree945324ebc8dc414782fcbc6e73dfceae8733f74a /src/file_wdp.c
parent90efd3e667ab7be0f04e0749903571305756bd0c (diff)
New prototype for get_date_from_tiff_header()
Diffstat (limited to 'src/file_wdp.c')
-rw-r--r--src/file_wdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_wdp.c b/src/file_wdp.c
index f70dd56..0be5694 100644
--- a/src/file_wdp.c
+++ b/src/file_wdp.c
@@ -51,7 +51,7 @@ 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->time=get_date_from_tiff_header(buffer, buffer_size);
file_recovery_new->file_check=&file_check_tiff_le;
return 1;
}