diff --git a/src/win/symbol.c b/src/win/symbol.c index 6f187b4b..6b6cd590 100644 --- a/src/win/symbol.c +++ b/src/win/symbol.c @@ -87,7 +87,7 @@ LM_EnumSymbols(const lm_module_t *module, symbol.name = (lm_string_t)(modbase + export_names[i]); printf("symbol name: %s\n", symbol.name); - symbol.address = (lm_address_t)(module->base, export_funcs[i]); + symbol.address = (lm_address_t)(module->base + export_funcs[i]); printf("symbol address: %p\n", (void *)symbol.address); if (callback(&symbol, arg) == LM_FALSE)