Fix MSVC build.

This commit is contained in:
James Crook 2018-03-25 21:07:33 +01:00
parent 4c9bff73e3
commit 602be9bea6
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@
/// These ditherers are currently available:
enum class DitherType : unsigned {
enum DitherType : unsigned {
none = 0, rectangle = 1, triangle = 2, shaped = 3 };
class Dither

View File

@ -74,7 +74,7 @@ static_assert(
"size mismatch"
);
static const int defaultFastDither = 0; // none
static const size_t defaultFastDither = 0; // none
static EncodedEnumSetting fastDitherSetting{
wxT("Quality/DitherAlgorithmChoice"),
@ -83,7 +83,7 @@ static EncodedEnumSetting fastDitherSetting{
wxT("Quality/DitherAlgorithm")
};
static const int defaultBestDither = 3; // shaped
static const size_t defaultBestDither = 3; // shaped
static EncodedEnumSetting bestDitherSetting{
wxT("Quality/HQDitherAlgorithmChoice"),

View File

@ -23,7 +23,7 @@
class ShuttleGui;
enum sampleFormat : unsigned;
enum class DitherType : unsigned;
enum DitherType : unsigned;
class QualityPrefs final : public PrefsPanel
{