From 485ddb9771b1ccabef07ca62d5fc9f079f0c5693 Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Tue, 5 Jan 2010 13:00:45 +0900 Subject: [PATCH] usbd: remove warning remove below warning cmd_usbd.c: In function 'process_data': cmd_usbd.c:727: warning: initialization makes pointer from integer without a cast Signed-off-by: Minkyu Kang --- common/cmd_usbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_usbd.c b/common/cmd_usbd.c index 25509e7..e22d0dc 100644 --- a/common/cmd_usbd.c +++ b/common/cmd_usbd.c @@ -724,7 +724,7 @@ static int process_data(struct usbd_ops *usbd) /* Workaround: for prevent revision mismatch */ if (cpu_is_s5pc110()) { int img_rev = 1; - long *img_header = down_ram_addr; + long *img_header = (long *)down_ram_addr; if (*img_header == 0xea000012) img_rev = 0; -- 2.7.4