From: Uwe Bonnes Date: Sat, 26 Jun 2010 11:44:34 +0000 (+0200) Subject: Remove wrong casts X-Git-Url: http://developer.intra2net.com/git/?p=ftdi_eeprom;a=commitdiff_plain;h=a8c4c699e7b223400de6084d85aa8a5173fee308 Remove wrong casts --- diff --git a/src/main.c b/src/main.c index fde53e8..03c9eb5 100644 --- a/src/main.c +++ b/src/main.c @@ -158,7 +158,7 @@ int main(int argc, char *argv[]) if (_read > 0) { - printf("FTDI read eeprom: %d\n", ftdi_read_eeprom(&ftdi, (char *)eeprom_buf)); + printf("FTDI read eeprom: %d\n", ftdi_read_eeprom(&ftdi, eeprom_buf)); ftdi_eeprom_decode(&eeprom, eeprom_buf, ftdi.eeprom_size); /* Debug output */ @@ -222,7 +222,7 @@ int main(int argc, char *argv[]) fclose(fp); } } - printf ("FTDI write eeprom: %d\n", ftdi_write_eeprom(&ftdi, (char *)eeprom_buf)); + printf ("FTDI write eeprom: %d\n", ftdi_write_eeprom(&ftdi, eeprom_buf)); } // Write to file?