Skip to content

Commit

Permalink
Avoid padding by compiler
Browse files Browse the repository at this point in the history
For example, the compiler Clang 13 warned about padding struct 'struct ogg_opus_desc' with 4 bytes to align 'writing_pcm_pos' [-Wpadded].
  • Loading branch information
traud authored Oct 30, 2021
1 parent 3e378ec commit 9049c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formats/format_ogg_opus_open_source.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ struct ogg_opus_desc {
OggOpusComments *comments;
#endif

int writing;
size_t writing;
off_t writing_pcm_pos;
};

Expand Down

0 comments on commit 9049c60

Please sign in to comment.