libfdt: Fixups for 64-bit machines

The error encoding for pointers is incorrect on machines where
sizeof(int) != sizeof(void *), which includes most 64-bit platforms
(in particular, AMD64 and powerpc64).  This patch fixes it.
1 file changed