Junio C Hamano venit, vidit, dixit 10.06.2010 17:54: > Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> writes: > >> - ce->ce_dev = st->st_dev; >> - ce->ce_ino = st->st_ino; >> - ce->ce_uid = st->st_uid; >> - ce->ce_gid = st->st_gid; >> - ce->ce_size = st->st_size; >> + ce->ce_dev = (unsigned int)st->st_dev; >> + ce->ce_ino = (unsigned int)st->st_ino; >> + ce->ce_uid = (unsigned int)st->st_uid; >> + ce->ce_gid = (unsigned int)st->st_gid; >> + ce->ce_size = (unsigned int)st->st_size; > > I haven't had my morning coffee yet, but wouldn't the conversion be > automatic by assignment anyway? Well, we do cast from dev_t etc. to unsigned int in all other places in read_cache.c. In any case, enjoy your coffee :) Michael -- 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