On Saturday, September 17, 2011 12:48:48 Simon Glass wrote:
> --- a/common/cmd_bootm.c
> +++ b/common/cmd_bootm.c
>
> +#if BITS_PER_LONG == 32
>       int   (*appl)(int, char * const []);
> +#endif
> 
> +#if BITS_PER_LONG == 32
>       appl = (int (*)(int, char * const []))ntohl(images.ep);
>       (*appl)(argc-1, &argv[1]);
> -
> +#endif

why do you need this ?  if it's because you're converting from a 32bit int to 
a pointer, then you could address this by putting an (unsigned long) cast 
between the pointer and the ntohl() call.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to