projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Standardize *get_*() functions
[babeltrace.git]
/
lib
/
values.c
diff --git
a/lib/values.c
b/lib/values.c
index fb62293e8dd6d06ef868b1dcde0c881bf5f9a615..24b26e11706a73c271be33188030103dbbfd66a7 100644
(file)
--- a/
lib/values.c
+++ b/
lib/values.c
@@
-819,7
+819,7
@@
int64_t bt_value_array_size(const struct bt_value *array_obj)
BT_VALUE_TO_ARRAY(array_obj);
if (!array_obj || !bt_value_is_array(array_obj)) {
BT_VALUE_TO_ARRAY(array_obj);
if (!array_obj || !bt_value_is_array(array_obj)) {
- ret = BT_VALUE_STATUS_INVAL;
+ ret =
(int64_t)
BT_VALUE_STATUS_INVAL;
goto end;
}
goto end;
}
@@
-987,7
+987,7
@@
int64_t bt_value_map_size(const struct bt_value *map_obj)
struct bt_value_map *typed_map_obj = BT_VALUE_TO_MAP(map_obj);
if (!map_obj || !bt_value_is_map(map_obj)) {
struct bt_value_map *typed_map_obj = BT_VALUE_TO_MAP(map_obj);
if (!map_obj || !bt_value_is_map(map_obj)) {
- ret = BT_VALUE_STATUS_INVAL;
+ ret =
(int64_t)
BT_VALUE_STATUS_INVAL;
goto end;
}
goto end;
}
This page took
0.023354 seconds
and
4
git commands to generate.