diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-22 23:08:03 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-09-23 16:46:27 +0300 |
commit | 6358c55bacb813395a4612b9f3972bf41a3daed2 (patch) | |
tree | a5485b72d220db7bb1a4bcfb064276d40be4973d /tests/fs-tests/lib/tests.h | |
parent | 7c6742bd9209c69dbefa4bf12802c3c88b18aeb8 (diff) |
libfec: fix up pointer warnings in fec magic computation
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@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/fs-tests/lib/tests.h')
0 files changed, 0 insertions, 0 deletions