summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2007-09-12 03:01:17 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2007-09-12 03:01:17 +0000
commit6d6afdce3e02516e0d7e4beab90a8b131e6965f1 (patch)
tree67133131d25163ab3efdcc6d7200b36216cb2873 /src/utils
parent9fbcdcd1a987ab349a5edd725343a00b9f73b918 (diff)
downloadflac-6d6afdce3e02516e0d7e4beab90a8b131e6965f1.tar.gz
msvc fixes
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/flacdiff/main.cpp17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/utils/flacdiff/main.cpp b/src/utils/flacdiff/main.cpp
index 5fc961e5..1aec5595 100644
--- a/src/utils/flacdiff/main.cpp
+++ b/src/utils/flacdiff/main.cpp
@@ -23,12 +23,17 @@
#include <stdio.h>
#include <string.h>
#include "FLAC++/decoder.h"
-#if defined _MSC_VER || defined __MINGW32__
-#if _MSC_VER <= 1600 /* @@@ [2G limit] */
-#define fseeko fseek
-#define ftello ftell
-#endif
-#endif
+#if defined _MSC_VER || defined __MINGW32__
+#if _MSC_VER <= 1600 /* @@@ [2G limit] */
+#define fseeko fseek
+#define ftello ftell
+#endif
+#endif
+
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
class AutoFILE {
protected: