Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2009 18:42:35 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org, thompsa@freebsd.org, alfred@freebsd.org
Subject:   Re: libusb20 api
Message-ID:  <200909221842.36202.hselasky@c2i.net>
In-Reply-To: <200909221740.49279.hselasky@c2i.net>
References:  <2C0D6269-1296-4D34-8029-828A0FE281CB@tlb.org> <200909221740.49279.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 22 September 2009 17:40:48 Hans Petter Selasky wrote:
> On Tuesday 22 September 2009 00:38:46 Trevor Blackwell wrote:
> > This always fails:
> >

Your comment could be applied to other functions being passed lengths aswell. 
However, if you compile your code with -Wall, you should be safe from such 
errors when passing too big constants.

I'm not sure if I will push an API change like this at the current moment.

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909221842.36202.hselasky>