[keel] Fix a GCC break
All checks were successful
Build / build (push) Successful in 2m39s

This commit is contained in:
Gary Talent 2024-05-17 21:13:15 -05:00
parent 7233da75ea
commit eed115b287

View File

@ -94,7 +94,7 @@ ox::Error preloadObj(
oxOutf("preloading {} as a {}\n", path, obj.type()->typeName); oxOutf("preloading {} as a {}\n", path, obj.type()->typeName);
// preload // preload
oxRequire(a, pl.startAlloc(ox::sizeOf<GbaPlatSpec>(&obj), ox::alignOf<GbaPlatSpec>(obj))); oxRequire(a, pl.startAlloc(ox::sizeOf<GbaPlatSpec>(&obj), ox::alignOf<GbaPlatSpec>(obj)));
auto const err = ox::preload<GbaPlatSpec, decltype(obj)>(&pl, &obj); auto const err = ox::preload<GbaPlatSpec, ox::ModelObject>(&pl, &obj);
oxReturnError(pl.endAlloc()); oxReturnError(pl.endAlloc());
oxReturnError(err); oxReturnError(err);
keel::PreloadPtr const p{.preloadAddr = static_cast<uint32_t>(a)}; keel::PreloadPtr const p{.preloadAddr = static_cast<uint32_t>(a)};