summaryrefslogtreecommitdiff
path: root/src/test_libFLAC++
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2014-03-14 15:15:48 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2014-03-14 15:33:11 +1100
commitf5902a474cff232d28823060c5545e5c7ed18ded (patch)
tree9c7cb634d845afc25f249015bce670580dd0d2dc /src/test_libFLAC++
parent7cbecbae9f70be770f7651d09531fec0de6f9cf5 (diff)
downloadflac-f5902a474cff232d28823060c5545e5c7ed18ded.tar.gz
Fix pragma warning.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
Diffstat (limited to 'src/test_libFLAC++')
-rw-r--r--src/test_libFLAC++/encoders.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test_libFLAC++/encoders.cpp b/src/test_libFLAC++/encoders.cpp
index e484c94a..64939407 100644
--- a/src/test_libFLAC++/encoders.cpp
+++ b/src/test_libFLAC++/encoders.cpp
@@ -35,6 +35,11 @@ extern "C" {
#include <string.h>
#include "share/compat.h"
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
typedef enum {
LAYER_STREAM = 0, /* FLAC__stream_encoder_init_stream() without seeking */
LAYER_SEEKABLE_STREAM, /* FLAC__stream_encoder_init_stream() with seeking */