Skip to content

Commit

Permalink
Use named casts
Browse files Browse the repository at this point in the history
  • Loading branch information
sakertooth committed Apr 3, 2024
1 parent 0404ed1 commit 84edc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/DrumSynth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ int DrumSynth::GetPrivateProfileString(
}
else
{
k = (char*)(b + strlen(b) - 1);
k = static_cast<char*>(b + strlen(b) - 1);
while ((k >= b) && (*k == ' ' || *k == '\t'))
{
--k;
Expand Down

0 comments on commit 84edc72

Please sign in to comment.