Make the device code received unsigned, so it wouldn't sign-extend if

it is beyond 0x80.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@517 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch
2005-09-19 14:22:30 +00:00
parent 39b6c1c012
commit e76a806902
2 changed files with 6 additions and 1 deletions

View File

@@ -226,7 +226,7 @@ static int butterfly_initialize(PROGRAMMER * pgm, AVRPART * p)
char hw[2];
char buf[10];
char type;
char c;
unsigned char c;
int dev_supported = 0;
no_show_func_info();