X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=src%2Fftdi.c;h=7d271341b032df9d639b588e0e9ddd9fe11804d4;hp=c9492f56124a78ad0a7bdb24df9269bfbdb959e5;hb=b4d19dead949a262c14af0a4515e7fbceac69373;hpb=d45d6648ad017652e18aefc65c1300c5392b2f8e diff --git a/src/ftdi.c b/src/ftdi.c index c9492f5..7d27134 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -105,7 +105,7 @@ int ftdi_init(struct ftdi_context *ftdi) if (eeprom == 0) ftdi_error_return(-2, "Can't malloc struct ftdi_eeprom"); - memset(eeprom, 0, sizeof(struct ftdi_eeprom); + memset(eeprom, 0, sizeof(struct ftdi_eeprom)); ftdi->eeprom = eeprom; /* All fine. Now allocate the readbuffer */