summaryrefslogtreecommitdiffstats
path: root/src/dfxml.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-04-14 11:09:48 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2012-04-14 11:09:48 +0200
commit7d29ee5f1ef40171054886beefe39527f144dbc2 (patch)
tree943858ef36f1bc1602041987cd6b39e7413a190f /src/dfxml.c
parent35ad901d7b6947e492911b0d5b672530cb645eb9 (diff)
New function td_list_entry_const()
Diffstat (limited to 'src/dfxml.c')
-rw-r--r--src/dfxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfxml.c b/src/dfxml.c
index e9385a1..162833f 100644
--- a/src/dfxml.c
+++ b/src/dfxml.c
@@ -332,7 +332,7 @@ static void xml_log_file_recovered2_aux(const alloc_data_t *space, const alloc_d
uint64_t size=0;
for(tmp=&file->list; tmp!=&space->list; tmp=tmp->next)
{
- const alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list);
+ const alloc_data_t *element=td_list_entry_const(tmp, const alloc_data_t, list);
if(size >= file_size)
return ;
if(element->data>0)