Le mardi 31 juillet 2007 21:56, Jeff King a écrit : > On Tue, Jul 31, 2007 at 02:48:29PM +0200, Christian Couder wrote: > > - weights = xcalloc(on_list, sizeof(int*)); > > + weights = xcalloc(on_list, sizeof(int)); > > How about the correct-by-definition sizeof(*weights)? That's ok for me too. Thanks, Christian. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html