fix off by one in GSI parser

This commit is contained in:
Nikita Smith
2024-11-21 00:57:16 -08:00
parent 714316aebf
commit bdb41aa040
+1 -1
View File
@@ -543,7 +543,7 @@ pdb_gsi_from_data(Arena *arena, String8 data){
bucket_offs[j] = hash_record_ptr->symbol_off - 1;
hash_record_ptr -= 1;
}
PDB_GsiBucket *bucket = &result->buckets[i - 1];
PDB_GsiBucket *bucket = &result->buckets[i];
bucket->count = num_steps;
bucket->offs = bucket_offs;