30 Jan
                
                    2016
                
            
            
                30 Jan
                
                '16
                
            
            
            
        
    
                12:29 p.m.
            
        Le 30 janv. 2016 à 10:00, Allan McRae <allan@archlinux.org> a écrit :
Why is this safer?
Safer is maybe not the most appropriate word. This simply prevents mistakes by having to write the correct type twice. Using char* instead of void* is also semantically incorrect: - void **new_list = realloc(list->list, newsz * sizeof(char *)); + void **new_list = realloc(list->list, newsz * sizeof(*new_list)); - Julien