On Mon, 2002-10-14 at 22:54, Arjan van de Ven wrote: > On Mon, 2002-10-14 at 22:27, David Mansfield wrote: > > > > - sector_t x = block; > > + volatile sector_t y = 0; > > + sector_t x = block - y; > > sector_div(x, (unsigned long)conf->smallest->size); > > hash = conf->hash_table + x; > > } > this appears to be a bad code bug; do_div() requires the first argument > to be an u64 and we cast it to unsigned long here.... ehm ignore me I'm blind