Eliminate compiler warnings. GCC 4.x elicits many signedness warnings

when passing unsigned char * when char * is in the prototype and vice
versa.  Clean these up along with a few others.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@491 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
bdean
2005-08-30 01:30:05 +00:00
parent 89e890aacd
commit 20f3be439c
9 changed files with 42 additions and 44 deletions

View File

@@ -38,8 +38,8 @@ struct serial_device
int (*setspeed)(int fd, long baud);
void (*close)(int fd);
int (*send)(int fd, char * buf, size_t buflen);
int (*recv)(int fd, char * buf, size_t buflen);
int (*send)(int fd, unsigned char * buf, size_t buflen);
int (*recv)(int fd, unsigned char * buf, size_t buflen);
int (*drain)(int fd, int display);
};