summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2019-11-08 09:20:28 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2019-11-08 09:20:28 +0000
commitefa5c872844d28bf5a9d80501b1bab2d724a8f86 (patch)
treec68ce8ab61161e6139fcf17089085e2fbd5a08cc /gnu
parentc3c97395079fd9ae667738a2066323a755ea4030 (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.c2
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;
}