diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-11-08 09:20:28 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-11-08 09:20:28 +0000 |
commit | efa5c872844d28bf5a9d80501b1bab2d724a8f86 (patch) | |
tree | c68ce8ab61161e6139fcf17089085e2fbd5a08cc /gnu | |
parent | c3c97395079fd9ae667738a2066323a755ea4030 (diff) |
Silence the compiler on 64bits archs where sizeof(void *) != sizeof(int).
ok partrick@, kettenis@
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils-2.17/opcodes/ppc-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils-2.17/opcodes/ppc-dis.c b/gnu/usr.bin/binutils-2.17/opcodes/ppc-dis.c index 5ac50f60677..ef1062e5e0c 100644 --- a/gnu/usr.bin/binutils-2.17/opcodes/ppc-dis.c +++ b/gnu/usr.bin/binutils-2.17/opcodes/ppc-dis.c @@ -85,7 +85,7 @@ powerpc_dialect (struct disassemble_info *info) dialect |= PPC_OPCODE_64; } - info->private_data = (void *) dialect; + info->private_data = (void *)(long) dialect; return dialect; } |