2010/7/31 Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx>: <snip> > + init_tree_desc(&desc, tree, size); > + strbuf_init(&buffer, 8192); > + while (tree_entry(&desc, &entry)) { > + strbuf_addf(&buffer, "%o %.*s%c", entry.mode, strlen(entry.path), entry.path, '\0'); Again, gcc here complains that "subtree.c:390: warning: field precision should have type ‘int’, but argument 4 has type ‘size_t’" -- typecast the return value of strlen to int? -- 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