Cleanup: use ctf_scope_string function to print `enum ctf_scope` vars
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 18 Dec 2018 21:02:57 +0000 (16:02 -0500)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
commitd4928fcd61dc004abeb727661f7ea47c94cd50c4
treed167fd6003072ec296ccafee8cd2788d5615838d
parentc2ec0d650a655f9dc73138cf6b9e685b4389be3d
Cleanup: use ctf_scope_string function to print `enum ctf_scope` vars

This fixes the following Clang warning:
  ctf-meta-resolve.c:278:28: error: implicit conversion from enumeration type 'enum ctf_scope' to different enumeration type 'enum bt_scope' [-Werror,-Wenum-conversion]
                                  bt_common_scope_string(scope));
                                  ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
  ../../../../include/babeltrace/logging-internal.h:854:46: note: expanded from macro 'BT_LOGV'
                          BT_LOG_WRITE(BT_LOG_VERBOSE, _BT_LOG_TAG, __VA_ARGS__)
                                                                    ^~~~~~~~~~~
  ../../../../include/babeltrace/logging-internal.h:818:18: note: expanded from macro 'BT_LOG_WRITE'
                                                          lvl, tag, __VA_ARGS__); \

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
plugins/ctf/common/metadata/ctf-meta-resolve.c
This page took 0.025711 seconds and 4 git commands to generate.