git://developer.intra2net.com
/
ftdi_eeprom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3f916d5
)
Remove wrong casts
author
Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de>
Sat, 26 Jun 2010 11:44:34 +0000 (13:44 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 28 Jun 2010 16:44:29 +0000 (18:44 +0200)
src/main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/main.c
b/src/main.c
index
fde53e8
..
03c9eb5
100644
(file)
--- 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?