vtable: avoid requiring fpermissive

This commit is contained in:
Vaxry 2024-04-20 01:29:26 +01:00
parent 18e561ff2c
commit 4dc342bc1d

View file

@ -396,7 +396,7 @@ static const void* {}[] = {{
for (auto& rq : iface.requests) {
const auto REQUEST_NAME = camelize(std::string{"_"} + "C_" + IFACE_NAME + "_" + rq.name);
SOURCE += std::format(" {},\n", REQUEST_NAME);
SOURCE += std::format(" (void*){},\n", REQUEST_NAME);
}
SOURCE += "};\n";