make AddressGen spit out hexadecimal

This commit is contained in:
HJfod 2022-07-31 22:59:02 +03:00
parent 19c9f9ebde
commit 1f0482be97

View file

@ -36,7 +36,7 @@ std::string generateAddressHeader(Root& root) {
} else if (codegen::getStatus(field) == BindStatus::NeedsBinding) {
address_str = fmt::format("base::get() + {}", codegen::platformNumber(fn->binds));
address_str = fmt::format("base::get() + 0x{:x}", codegen::platformNumber(fn->binds));
} else {
continue;