Introduce basic_safe_range
[deliverable/binutils-gdb.git] / bfd / bfd-in2.h
index 6f3e41da376e93a310e4a2dca80ca005bdad40c4..ed91ed27ee7cc8940e00fca3237f435867cbc08f 100644 (file)
@@ -700,7 +700,7 @@ bfd_vma bfd_getl24 (const void *p);
   BFD_SEND (abfd, bfd_getx_signed_64, (ptr))
 
 #define bfd_get(bits, abfd, ptr)                       \
-  ((bits) == 8 ? (bfd_vma) bfd_get_8 (abfd, ptr)       \
+  ((bits) == 8 ? bfd_get_8 (abfd, ptr)                 \
    : (bits) == 16 ? bfd_get_16 (abfd, ptr)             \
    : (bits) == 32 ? bfd_get_32 (abfd, ptr)             \
    : (bits) == 64 ? bfd_get_64 (abfd, ptr)             \
This page took 0.023456 seconds and 4 git commands to generate.