[PATCH] libfec: fix up pointer warnings in fec magic computation
Artem Bityutskiy
dedekind1 at gmail.com
Thu Sep 23 09:46:43 EDT 2010
On Wed, 2010-09-22 at 23:08 -0400, Mike Frysinger wrote:
> The current fec code casts a pointer to an int which causes warnings on
> 64bit systems. So create a macro for the duplicate/complicated magic
> computation, and add an unsigned long cast in it to fix the original
> problem.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Pushed to mtd-utils, thanks!
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list