Messages in this thread | | | Subject | Re: [BUG] Compile failure (gcc 2.96 bug?). 2.5.42 raid0.c | From | Arjan van de Ven <> | Date | 14 Oct 2002 23:11:55 +0200 |
| |
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 [unhandled content-type:application/pgp-signature] | |