libftdi_write_data: argument #2 should be const
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Tue, 3 Sep 2013 09:03:50 +0000 (11:03 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 4 Sep 2013 13:02:33 +0000 (15:02 +0200)
commit276750c1464b24cd334d483e9ccdab87d9673152
treee0056fe9f164138d0280afd9f08bc7d7f339c467
parentc2219c82ecb5731775fecec7f5348d62f578355b
libftdi_write_data: argument #2 should be const

Joerg Wunsch <j@uriah.heep.sax.de> noted that in libftdi_write_data() the
buffer that is sent is only accessed reeading and so should be const. Please
consider appended patch ( if I got "const unsigned char *" versus "unsigned
char const *" right).
src/ftdi.c
src/ftdi.h