diff options
author | Dave Liu <r63238@freescale.com> | 2008-01-14 11:12:01 +0800 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-14 10:34:30 +0100 |
commit | 06c428bcd4413014b43236e77765022071424fa6 (patch) | |
tree | 5c7554314e4a81f06eaf7f55a7ecafc0683d306f /drivers/qe/qe.c | |
parent | 6d714f82fb4b8bb7e267e9c71b8009bc670bfe88 (diff) | |
download | u-boot-imx-06c428bcd4413014b43236e77765022071424fa6.zip u-boot-imx-06c428bcd4413014b43236e77765022071424fa6.tar.gz u-boot-imx-06c428bcd4413014b43236e77765022071424fa6.tar.bz2 |
QE: fix compile warning
qe.c: In function 'qe_upload_firmware':
qe.c:390: warning: pointer targets in passing argument 2
uec.c: In function 'uec_initialize':
uec.c:1236: warning: 'uec_info' may be used uninitialized
Signed-off-by: Dave Liu <daveliu@freescale.com>
Diffstat (limited to 'drivers/qe/qe.c')
-rw-r--r-- | drivers/qe/qe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index c802014..63acfa3 100644 --- a/drivers/qe/qe.c +++ b/drivers/qe/qe.c @@ -387,7 +387,7 @@ int qe_upload_firmware(const struct qe_firmware *firmware) * saved microcode information and put in the new. */ memset(&qe_firmware_info, 0, sizeof(qe_firmware_info)); - strcpy(qe_firmware_info.id, firmware->id); + strcpy(qe_firmware_info.id, (char *)firmware->id); qe_firmware_info.extended_modes = firmware->extended_modes; memcpy(qe_firmware_info.vtraps, firmware->vtraps, sizeof(firmware->vtraps)); |