Skip to content

Commit

Permalink
Fixed one leftover issue on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Nielsbishere committed Nov 9, 2024
1 parent dad4df5 commit f20a9e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/formats/wav/conversion.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ U64 WAVFile_avg(U64 a, U64 b, U64 newStride) {

case 4: {
F32 avg = (*(const F32*)av + *(const F32*)bv) / 2;
return *(const U32*)&avg;
const void *avgv = (const void*)&avg;
return *(const U32*)avgv;
}

case 8: {
Expand Down

0 comments on commit f20a9e9

Please sign in to comment.