2010/8/1 Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx>: >> + int subtree_len; > > Shouldn't that be size_t? strlen returns size_t, and strncmp expects > size_t, not int. > Hmm.. yeah. The compiler didn't warn me. Anyway subtree_len should be small enough (i.e. < PATH_MAX) that type does not really matters. -- Duy -- 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