Skip to content

Commit

Permalink
🎨 Resolve potential undefined behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
nicks96432 committed Jan 12, 2024
1 parent de8ffbd commit 9bb87b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kawashima/hca/internal/CHcaChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ void CHcaChannel::Decode4(
float *d = &inst2->block[b];
for (uint32_t i = 0; i < a; i++) {
*(d++) = *s * f2;
*(s++) = *s * f1;
*s = *s * f1;
++s;
}
}
}
Expand Down

0 comments on commit 9bb87b9

Please sign in to comment.