Commit c61b5628 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] Cyclades assignment warning

Remove unneeded cast that causes a warning (cy_isa_addresses is an array
of unsigned ints).
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 628f1455
...@@ -5551,7 +5551,7 @@ cy_setup(char *str, int *ints) ...@@ -5551,7 +5551,7 @@ cy_setup(char *str, int *ints)
} }
for (j = 1; j <= ints[0]; j++){ for (j = 1; j <= ints[0]; j++){
if ( i < NR_ISA_ADDRS ){ if ( i < NR_ISA_ADDRS ){
cy_isa_addresses[i++] = (unsigned char *)(ints[j]); cy_isa_addresses[i++] = ints[j];
} }
} }
#endif /* CONFIG_ISA */ #endif /* CONFIG_ISA */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment