diff --git a/lib/gc.c b/lib/gc.c index fbc8ad3..d5d6c87 100644 --- a/lib/gc.c +++ b/lib/gc.c @@ -849,7 +849,7 @@ int hcl_ignite (hcl_t* hcl, hcl_oow_t heapsize) if (!hcl->code.dbgi) { - hcl->code.dbgi = (hcl_oow_t*)hcl_allocmem(hcl, HCL_SIZEOF(*hcl->code.dbgi) * HCL_BC_BUFFER_INIT); + hcl->code.dbgi = (hcl_dbgi_t*)hcl_allocmem(hcl, HCL_SIZEOF(*hcl->code.dbgi) * HCL_BC_BUFFER_INIT); if (HCL_UNLIKELY(!hcl->code.dbgi)) { /* bc.ptr and dbgi go together. so free bc.ptr if dbgi allocation fails */ @@ -874,8 +874,6 @@ int hcl_ignite (hcl_t* hcl, hcl_oow_t heapsize) return 0; } - - int hcl_getsyncodebyoocs_noseterr (hcl_t* hcl, const hcl_oocs_t* name) { hcl_oow_t i;