Skip to content

Commit

Permalink
Fixed syndrome attribute change size
Browse files Browse the repository at this point in the history
  • Loading branch information
cvuchener committed Jul 25, 2021
1 parent c3b1559 commit 5e856aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syndrome.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void Syndrome::load_attribute_changes(VIRTADDR addr, int start_idx, int count, i
int idx_offset = 0;
int idx = 0;
for(idx = 0; idx <=count; idx++){
idx_offset = m_df->pointer_size() * idx;
idx_offset = 4 * idx;
syn_att_change att_change;
att_change.percent = m_df->read_int(m_mem->syndrome_field(addr, "cie_first_perc")+idx_offset);
att_change.added = m_df->read_int(addr+add_offset+idx_offset);
Expand Down

0 comments on commit 5e856aa

Please sign in to comment.