summaryrefslogtreecommitdiffstats
path: root/arch/mips/au1000/csb250/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/au1000/csb250/init.c')
-rw-r--r--arch/mips/au1000/csb250/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/au1000/csb250/init.c b/arch/mips/au1000/csb250/init.c
index a4898b1bc66a..83f1b31a0b8e 100644
--- a/arch/mips/au1000/csb250/init.c
+++ b/arch/mips/au1000/csb250/init.c
@@ -65,9 +65,9 @@ int __init prom_init(int argc, char **argv, char **envp, int *prom_vec)
/* We use a0 and a1 to pass initrd start and size.
*/
- if (((uint) argc > 0) && ((uint)argv > 0)) {
- my_initrd_start = (uint)argc;
- my_initrd_size = (uint)argv;
+ if (((unsigned int) argc > 0) && ((uint)argv > 0)) {
+ my_initrd_start = (unsigned int)argc;
+ my_initrd_size = (unsigned int)argv;
}
/* First argv is ignored.
OpenPOWER on IntegriCloud