diff --git a/binfmt/libelf/libelf_symbols.c b/binfmt/libelf/libelf_symbols.c index 373bd062ee..f5ac359363 100644 --- a/binfmt/libelf/libelf_symbols.c +++ b/binfmt/libelf/libelf_symbols.c @@ -325,7 +325,7 @@ int elf_symvalue(FAR struct elf_loadinfo_s *loadinfo, FAR Elf_Sym *sym, loadinfo->iobuffer, sym->st_value, symbol->sym_value, sym->st_value + symbol->sym_value); - sym->st_value += (Elf_Word)((uintptr_t)symbol->sym_value); + sym->st_value += ((uintptr_t)symbol->sym_value); } break;