lib: add unsigned and signed integer value API
[babeltrace.git] / plugins / utils / trimmer / trimmer.c
index ddf95b9d1845b5802f1fc673a8b0d25fbc365435..d9407bfda205e1341f8d3ed4186eab2bf0c30d7f 100644 (file)
@@ -358,8 +358,8 @@ int set_bound_from_param(const char *param_name, const bt_value *param,
        const char *arg;
        char tmp_arg[64];
 
-       if (bt_value_is_integer(param)) {
-               int64_t value = bt_value_integer_get(param);
+       if (bt_value_is_signed_integer(param)) {
+               int64_t value = bt_value_signed_integer_get(param);
 
                /*
                 * Just convert it to a temporary string to handle
This page took 0.024414 seconds and 4 git commands to generate.