sink.text.pretty: abort on unknown field class type
[babeltrace.git] / src / plugins / ctf / common / metadata / ctf-meta-resolve.cpp
index 293ee4a553c4042d081d0c0bf88caba8a361ee98..1f7ffe57c388d0930db9fdc843731c15980e8c17 100644 (file)
@@ -7,8 +7,6 @@
 
 #include <glib.h>
 #include <inttypes.h>
-#include <limits.h>
-#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 
 #define BT_COMP_LOG_SELF_COMP       (ctx->self_comp)
 #define BT_COMP_LOG_SELF_COMP_CLASS (ctx->self_comp_class)
-#define BT_LOG_OUTPUT_LEVEL         (ctx->log_level)
+#define BT_LOG_OUTPUT_LEVEL         ((enum bt_log_level) ctx->log_level)
 #define BT_LOG_TAG                  "PLUGIN/CTF/META/RESOLVE"
 #include "logging.hpp"
 #include "logging/comp-logging.h"
 
 #include "common/assert.h"
 #include "common/common.h"
-#include "common/macros.h"
 
 #include "ctf-meta-visitors.hpp"
 
This page took 0.036934 seconds and 4 git commands to generate.