* ser_posix.c, ser_win32.c, serial.h:

Change baud from int to long to avoid a 16-bit int overflow.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@291 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Theodore A. Roth
2003-03-13 19:25:27 +00:00
parent 4054259bab
commit ad5d7d687c
4 changed files with 14 additions and 7 deletions

View File

@@ -20,14 +20,16 @@
/* $Id$ */
/*
* Posix serial interface for avrdude.
* Native Win32 serial interface for avrdude.
*/
#include "serial.h"
extern char *progname;
#if 0
int serial_open(char * port, int baud)
int serial_open(char * port, long baud)
{
return fd;
}