Add missing cast

fixes regression from 9a20cdfd
parent 9a20cdfd
......@@ -408,7 +408,7 @@ vcc_instance_info(struct vcc *tl, const struct symbol *sym)
CHECK_OBJ_NOTNULL(sym, SYMBOL_MAGIC);
AN(sym->rname);
Fc(tl, 0, "\t{ .p = &%s, .name = \"", sym->rname);
Fc(tl, 0, "\t{ .p = (uintptr_t *)&%s, .name = \"", sym->rname);
VCC_SymName(tl->fc, sym);
Fc(tl, 0, "\" },\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment