diff --git a/fast-import.c b/fast-import.c index 194116be6f..309f4d353b 100644 --- a/fast-import.c +++ b/fast-import.c @@ -524,7 +524,7 @@ static struct tree_entry* new_tree_entry() *((void**)e) = e + 1; e++; } - *((void*)e) = NULL; + *((void**)e) = NULL; } e = avail_tree_entry;