Subject: Re: Build failure - port amd64 - sys/dev/pci/if_wpi
To: None <ad@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 07/11/2007 09:18:21
Paul Goyette wrote:
> Sources updated Wednesday, July 11, 2007 at 03:35:52 UTC via cvs...
> 
> cc1: warnings being treated as errors
> /usr/src/sys/dev/pci/if_wpi.c: In function 'wpi_load_firmware':
> /usr/src/sys/dev/pci/if_wpi.c:1150: warning: format '%d' expects type 
> 'int', but
>  argument 3 has type 'size_t'
> /usr/src/sys/dev/pci/if_wpi.c:1197: warning: format '%d' expects type 
> 'int', but
>  argument 3 has type 'size_t'

In addition to these, define WPI_DEBUG and you'll see more errors (use of %llu 
instead of %lu)...

Martti