Fixed compile error in fast-import.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 27 Aug 2006 03:37:31 +0000 (23:37 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 14 Jan 2007 07:15:08 +0000 (02:15 -0500)
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c
index 194116be6f7951df32d0770d0901533887a59025..309f4d353bb32e33f5e98980afcda48ebd6c41a1 100644 (file)
@@ -524,7 +524,7 @@ static struct tree_entry* new_tree_entry()
                        *((void**)e) = e + 1;
                        e++;
                }
                        *((void**)e) = e + 1;
                        e++;
                }
-               *((void*)e) = NULL;
+               *((void**)e) = NULL;
        }
 
        e = avail_tree_entry;
        }
 
        e = avail_tree_entry;