diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-10-20 23:04:42 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-10-20 23:04:42 +0200 |
commit | 9fa48022e5883a0826a98979c0156f6ac5a0ef79 (patch) | |
tree | e854c807526ce8b7215446fc34f52832fd0bcc54 /common/usb_storage.c | |
parent | 34a7ceeff449be015a37d0e3f3178ca313618349 (diff) | |
parent | ba999c531ed16ec749b2b6f4b0133cee38842b91 (diff) |
Merge with /home/wd/git/u-boot/master
Diffstat (limited to 'common/usb_storage.c')
-rw-r--r-- | common/usb_storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/usb_storage.c b/common/usb_storage.c index 69ecf187842..06ea99b2f1a 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 */ |