src/file_pdf.c: fix two wrong casting (regression)
This commit is contained in:
parent
70089760f4
commit
eb2a270bfa
1 changed files with 2 additions and 2 deletions
|
@ -250,11 +250,11 @@ static void file_date_pdf(file_recovery_t *file_recovery)
|
|||
{
|
||||
if(buffer[0]=='=' && (buffer[1]=='\'' || buffer[1]=='"'))
|
||||
{
|
||||
file_recovery->time=get_time_from_YYYY_MM_DD_HH_MM_SS((const char *)&buffer[2]);
|
||||
file_recovery->time=get_time_from_YYYY_MM_DD_HH_MM_SS(&buffer[2]);
|
||||
}
|
||||
else if(buffer[0]=='>')
|
||||
{
|
||||
file_recovery->time=get_time_from_YYYY_MM_DD_HH_MM_SS((const char *)&buffer[1]);
|
||||
file_recovery->time=get_time_from_YYYY_MM_DD_HH_MM_SS(&buffer[1]);
|
||||
}
|
||||
}
|
||||
free(buffer);
|
||||
|
|
Loading…
Reference in a new issue