
23 Sep
2011
23 Sep
'11
5:55 p.m.
On Sat, Sep 17, 2011 at 5:16 PM, Mike Frysinger vapier@gentoo.org wrote:
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.
OK have done this.
-mike