fix build

This commit is contained in:
Ryan Fleury
2026-04-24 20:45:18 -07:00
parent ad0d023c93
commit 9768321d08
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ dw2_read_form_val(DW2_ParseCtx *ctx, String8 data, U64 off, DW_FormKind form_kin
//- rjf: sleb128 reads //- rjf: sleb128 reads
case DW_Form_SData: case DW_Form_SData:
{ {
off += str8_deserial_read_sleb128(data, off, &val.u128.u64[0]); off += str8_deserial_read_sleb128(data, off, (S64 *)(&val.u128.u64[0]));
}break; }break;
//- rjf: fixed-size uint reads / skips //- rjf: fixed-size uint reads / skips
+1
View File
@@ -14,6 +14,7 @@ arch_from_rdi_arch(RDI_Arch arch)
switch((RDI_ArchEnum)arch) switch((RDI_ArchEnum)arch)
{ {
case RDI_Arch_NULL:{}break; case RDI_Arch_NULL:{}break;
case RDI_Arch_X86:{result = Arch_x86;}break;
case RDI_Arch_X64:{result = Arch_x64;}break; case RDI_Arch_X64:{result = Arch_x64;}break;
} }
return result; return result;
+1 -1
View File
@@ -1221,7 +1221,7 @@ d2r2_convert(Arena *arena, D2R2_ConvertParams *params)
for(;!gathered;) for(;!gathered;)
{ {
// rjf: read existing slot head pointer *before* we lookup / insert // rjf: read existing slot head pointer *before* we lookup / insert
U64 slot_head_val = ins_atomic_u64_eval(&unique_type_tag_slots[slot_idx]); U64 slot_head_val = (U64)ins_atomic_u64_eval(&unique_type_tag_slots[slot_idx]);
// rjf: determine if this hash has been gathered // rjf: determine if this hash has been gathered
for(UniqueTypeTagNode *n = (UniqueTypeTagNode *)slot_head_val; n != 0; n = n->next) for(UniqueTypeTagNode *n = (UniqueTypeTagNode *)slot_head_val; n != 0; n = n->next)