Hi,

 

The attached patch fixes some warnings/errors when compiled with g++ and
another compiler:

 

-          Strings should be const char *.

-          Malloc needs to be cast from void * to char *.

-          Avoid mixing declarations with code.

 

Cheers,

Jon

 



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

Attachment: cpp.patch
Description: Binary data

Reply via email to