Minor corrections

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Minor corrections

Andrei Errapart
Hi,


Attached is a patch for a few minor faults detected by the Microsoft C++
compiler:
1. Variables must be defined at the beginning of a block; GCC enforces
this only when in -pedantic mode.
2. The callback functions were lacking LIBUSB_CALL qualifier.


best regards,
Andrei Errapart



--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [hidden email]  

minor_fixes.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Minor corrections

Thomas Jarosch
Hi Andrei,

On Sunday, 27. April 2014 14:41:04 Andrei Errapart wrote:
> Attached is a patch for a few minor faults detected by the Microsoft C++
> compiler:
> 1. Variables must be defined at the beginning of a block; GCC enforces
> this only when in -pedantic mode.
> 2. The callback functions were lacking LIBUSB_CALL qualifier.

Applied, thanks!

Cheers,
Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [hidden email]  

Loading...