projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0d3518
)
Coding style cleanup
author
Wolfgang Denk
<wd@pollux.denx.de>
Fri, 20 Oct 2006 10:02:59 +0000
(12:02 +0200)
committer
Wolfgang Denk
<wd@pollux.denx.de>
Fri, 20 Oct 2006 10:02:59 +0000
(12:02 +0200)
common/usb_storage.c
patch
|
blob
|
history
diff --git
a/common/usb_storage.c
b/common/usb_storage.c
index 69ecf1878420128f94136a475a0741babfdd03b9..06ea99b2f1a750d441db8e13999970d76ceaa825 100644
(file)
--- 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 */