libftdi Archives

Subject: Minor corrections

From: Andrei Errapart <a.errapart@xxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sun, 27 Apr 2014 14:41:04 +0200
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 libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Attachment: minor_fixes.patch
Description: Text document

Current Thread