libftdi-git Archives

Subject: utility to write the EEPROM connected to a FTDI USB-chip branch, master, updated. v0.3-12-ga8c4c69

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 28 Jun 2010 18:45:56 +0200 (CEST)
The branch, master has been updated
       via  a8c4c699e7b223400de6084d85aa8a5173fee308 (commit)
      from  3f916d5b6ee2d587d7c9069d4660b91fe42baa65 (commit)


- Log -----------------------------------------------------------------
commit a8c4c699e7b223400de6084d85aa8a5173fee308
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date:   Sat Jun 26 13:44:34 2010 +0200

    Remove wrong casts

-----------------------------------------------------------------------

Summary of changes:
 src/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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?


hooks/post-receive
-- 
utility to write the EEPROM connected to a FTDI USB-chip

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • utility to write the EEPROM connected to a FTDI USB-chip branch, master, updated. v0.3-12-ga8c4c69, libftdi-git <=