summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-24 23:18:24 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-24 23:18:24 +0200
commita7cd9cec31952b932ab80fb50cddec28aab74736 (patch)
tree041018e7b337d9f9ceb7d1e651af0a0424b21f8b /src/wx/film_viewer.h
parent73ebb92e9df01ba7afb97121b6e2cef6ca13a18e (diff)
Diffstat (limited to 'src/wx/film_viewer.h')
-rw-r--r--src/wx/film_viewer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h
index 29985a581..e08cc8e8d 100644
--- a/src/wx/film_viewer.h
+++ b/src/wx/film_viewer.h
@@ -28,8 +28,11 @@
#include "lib/player_text.h"
#include "lib/timer.h"
#include "lib/signaller.h"
+#include "lib/warnings.h"
#include <RtAudio.h>
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
class wxToggleButton;
class FFmpegPlayer;
@@ -179,7 +182,7 @@ private:
dcp::Size _out_size;
RtAudio _audio;
- int _audio_channels;
+ unsigned int _audio_channels;
unsigned int _audio_block_size;
bool _playing;
int _suspended;