Try to fix clashes caused by ERROR, WARNING etc. as variables.
[dcpomatic.git] / src / lib / cross.cc
index 9247baa97c2da963ba69d1b3bdeded56e0a780f7..730cfe1d0f46a8457652d29cfbad0b0e64a9ae9d 100644 (file)
@@ -46,8 +46,8 @@
 
 #include "i18n.h"
 
-#define LOG_GENERAL(...) log->log (String::compose (__VA_ARGS__), Log::GENERAL);
-#define LOG_ERROR(...) log->log (String::compose (__VA_ARGS__), Log::ERROR);
+#define LOG_GENERAL(...) log->log (String::compose (__VA_ARGS__), Log::TYPE_GENERAL);
+#define LOG_ERROR(...) log->log (String::compose (__VA_ARGS__), Log::TYPE_ERROR);
 
 using std::pair;
 using std::list;