linux-mips
[Top] [All Lists]

[PATCH][MIPS] fix wrong cast

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] fix wrong cast
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Mon, 28 May 2007 23:13:50 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

This patch has fixed wrong cast.

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X generic/Documentation/dontdiff 
generic-orig/arch/mips/au1000/pb1100/init.c 
generic/arch/mips/au1000/pb1100/init.c
--- generic-orig/arch/mips/au1000/pb1100/init.c 2007-03-23 11:00:22.462630500 
+0900
+++ generic/arch/mips/au1000/pb1100/init.c      2007-03-23 17:07:27.210831500 
+0900
@@ -53,7 +53,7 @@ void __init prom_init(void)
 
        prom_argc = fw_arg0;
        prom_argv = (char **) fw_arg1;
-       prom_envp = (int *) fw_arg3;
+       prom_envp = (char **) fw_arg3;
 
        mips_machgroup = MACH_GROUP_ALCHEMY;
        mips_machtype = MACH_PB1100;

<Prev in Thread] Current Thread [Next in Thread>