On Thu, Oct 31, 2002 at 01:21:38PM +0100, Poul-Henning Kamp wrote: > ffreestanding -Werror /usr/src/sys/dev/amr/amr.c > cc1: warnings being treated as errors > /usr/src/sys/dev/amr/amr.c: In function `amr_setup_ccbmap': > /usr/src/sys/dev/amr/amr.c:1055: warning: initialization from incompatible point > er type > *** Error code 1
It's a good practice to compile things before checking them in. --- amr.c.orig Thu Oct 31 18:19:32 2002 +++ amr.c Thu Oct 31 18:19:59 2002 @@ -1052,7 +1052,7 @@ struct amr_softc *sc = ac->ac_sc; struct amr_sgentry *sg; struct amr_passthrough *ap = (struct amr_passthrough *)ac->ac_data; - struct amr_ext_passthrough *aep = (struct amr_passthrough *)ac->ac_data; + struct amr_ext_passthrough *aep = (struct amr_ext_passthrough *)ac->ac_data; int i; /* get base address of s/g table */ -- Craig Rodrigues http://www.gis.net/~craigr [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message