From owner-freebsd-usb@FreeBSD.ORG Tue Sep 22 16:41:58 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4F031065679; Tue, 22 Sep 2009 16:41:58 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swipnet.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id F37228FC0A; Tue, 22 Sep 2009 16:41:57 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=zrZ_yKK0mYZgR30UgiAA:9 a=CDv_QkzGBN8kou5bb350XfBRJK0A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 567293943; Tue, 22 Sep 2009 18:41:56 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, thompsa@freebsd.org, alfred@freebsd.org Date: Tue, 22 Sep 2009 18:42:35 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <2C0D6269-1296-4D34-8029-828A0FE281CB@tlb.org> <200909221740.49279.hselasky@c2i.net> In-Reply-To: <200909221740.49279.hselasky@c2i.net> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909221842.36202.hselasky@c2i.net> Cc: Subject: Re: libusb20 api X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 16:41:58 -0000 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