mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
fixing strict-aliasing rule violations by passing enum types as int references
This commit is contained in:
@@ -527,7 +527,9 @@ private:
|
||||
// and will be taken out of the WaveTrack class:
|
||||
//
|
||||
|
||||
enum WaveTrackDisplay {
|
||||
|
||||
typedef int WaveTrackDisplay;
|
||||
enum WaveTrackDisplayValues : int {
|
||||
|
||||
// DO NOT REORDER OLD VALUES! Replace obsoletes with placeholders.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user