aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xcutils/readnotes.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xcutils/readnotes.c')
-rw-r--r--tools/xcutils/readnotes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xcutils/readnotes.c b/tools/xcutils/readnotes.c
index 543e0f5188..b534001e5f 100644
--- a/tools/xcutils/readnotes.c
+++ b/tools/xcutils/readnotes.c
@@ -38,7 +38,7 @@ static void print_l1_mfn_valid_note(const char *prefix, struct elf_binary *elf,
ELF_HANDLE_DECL(elf_note) note)
{
unsigned descsz = elf_uval(elf, note, descsz);
- ELF_PTRVAL_CONST_VOID desc = elf_note_desc(elf, note);
+ elf_ptrval desc = elf_note_desc(elf, note);
/* XXX should be able to cope with a list of values. */
switch ( descsz / 2 )