sink.text.pretty: abort on unknown field class type
[babeltrace.git] / src / plugins / ctf / common / metadata / decoder.cpp
index cd61678faa1d7e6e8860c54aa9aeab058a7e904a..deaeedb45408e80853b2def9ca576a5647d4a0d8 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <glib.h>
 #include <inttypes.h>
-#include <stdbool.h>
 #include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -16,7 +15,7 @@
 
 #define BT_COMP_LOG_SELF_COMP       (mdec->config.self_comp)
 #define BT_COMP_LOG_SELF_COMP_CLASS (mdec->config.self_comp_class)
-#define BT_LOG_OUTPUT_LEVEL         (mdec->config.log_level)
+#define BT_LOG_OUTPUT_LEVEL         ((enum bt_log_level) mdec->config.log_level)
 #define BT_LOG_TAG                  "PLUGIN/CTF/META/DECODER"
 #include "logging.hpp"
 #include "logging/comp-logging.h"
This page took 0.024216 seconds and 4 git commands to generate.