aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-10-20 12:02:59 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-10-20 12:02:59 +0200
commit73652699dd224dffb5cd8cca24d767bed02d7a28 (patch)
tree0c1449010c965b01b1ec3895a6c806a7e8822625
parenta0d3518460150b7c07c64e1abbbc71cbc591055f (diff)
downloadu-boot-linaro-stable-73652699dd224dffb5cd8cca24d767bed02d7a28.tar.gz
Coding style cleanup
-rw-r--r--common/usb_storage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/usb_storage.c b/common/usb_storage.c
index 69ecf1878..06ea99b2f 100644
--- a/common/usb_storage.c
+++ b/common/usb_storage.c
@@ -932,8 +932,8 @@ static void usb_bin_fixup(struct usb_device_descriptor descriptor,
const unsigned char max_vendor_len = 40;
const unsigned char max_product_len = 20;
if (descriptor.idVendor == 0x0424 && descriptor.idProduct == 0x223a) {
- strncpy(vendor, "SMSC", max_vendor_len);
- strncpy(product, "Flash Media Cntrller", max_product_len);
+ strncpy ((char *)vendor, "SMSC", max_vendor_len);
+ strncpy ((char *)product, "Flash Media Cntrller", max_product_len);
}
}
#endif /* CONFIG_USB_BIN_FIXUP */