X-Git-Url: http://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Fbt2_plugins%2Futils.hpp;fp=tests%2Futils%2Fbt2_plugins%2Futils.hpp;h=1d306fd1bf584eb1ba625f3f17e4304b1701c553;hp=fcf76371cacaad6a016986524ffe904111b932f8;hb=751d464ea3ed8ac00a3481714b0b264f2818bc4a;hpb=0f4aa1a88a318046475c7caa0f72438db044d9c0 diff --git a/tests/utils/bt2_plugins/utils.hpp b/tests/utils/bt2_plugins/utils.hpp index fcf76371c..1d306fd1b 100644 --- a/tests/utils/bt2_plugins/utils.hpp +++ b/tests/utils/bt2_plugins/utils.hpp @@ -17,7 +17,7 @@ namespace bt2 { namespace internal { static inline void bt_value_put_ref(bt_value *value) { - bt_value_put_ref(const_cast(value)); + bt_value_put_ref(static_cast(value)); } } /* namespace internal */