Files
s390-tools/zdump
Marc Hartmayer 5160f41079 zdump: PTR_(SUB|ADD) cast result to void pointer
This cast makes the macros easier to use without getting compiler warnings.

e.g.

dfo_elf.c: In function 'dfo_elf_init':
dfo_elf.c:343:20: warning: assignment to 'Elf64_Phdr *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
  343 |         phdrs_load = PTR_ADD(phdr_notes, sizeof(Elf64_Phdr) * phdrs_notes_count);

Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2021-11-17 15:48:22 +01:00
..
2019-12-12 18:04:32 +01:00
2019-12-12 18:04:32 +01:00
2021-11-10 15:12:10 +01:00
2021-11-10 15:12:10 +01:00
2019-12-12 18:04:32 +01:00
2021-11-10 15:12:10 +01:00
2021-11-10 15:12:10 +01:00
2021-11-10 15:12:10 +01:00
2021-11-10 11:50:58 +01:00
2018-05-07 13:42:03 +02:00
2021-11-10 15:12:10 +01:00