On Mar 21, 2014, at 12:50 PM, Sean McBride wrote:On Fri, 21 Mar 2014 18:44:01 +, Nathan Hjelm said: >I can't get scan-build to give me the the first oneIt's a compiler warning, not a static analyzer warning. I get it just building with Xcode 5.0.2. Again, I think last line of the functi
On Fri, 21 Mar 2014 18:44:01 +, Nathan Hjelm said:
>I can't get scan-build to give me the the first one
It's a compiler warning, not a static analyzer warning. I get it just building
with Xcode 5.0.2. Again, I think last line of the function is returning
entirely the wrong thing. Shouldn
On Mar 21, 2014, at 12:44 PM, Nathan Hjelm wrote:On Mar 21, 2014, at 11:49 AM, Sean McBride wrote:On Tue, 21 Jan 2014 07:43:10 -0700, Nathan Hjelm said: > > (2) os/darwin_usb.c:531:10: Implicit conversion loses integer >precision: 'size_t' (aka 'unsigned long') to 'int'
On Mar 21, 2014, at 11:49 AM, Sean McBride wrote:On Tue, 21 Jan 2014 07:43:10 -0700, Nathan Hjelm said: > > (2) os/darwin_usb.c:531:10: Implicit conversion loses integer >precision: 'size_t' (aka 'unsigned long') to 'int' > > > > A cast would silen
On Tue, 21 Jan 2014 07:43:10 -0700, Nathan Hjelm said:
>> (2) os/darwin_usb.c:531:10: Implicit conversion loses integer
>precision: 'size_t' (aka 'unsigned long') to 'int'
>>
>> A cast would silence this, but actually I worry the last line of the
>function is returning entirely the wrong thing.