X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust-comm%2Flttng-ust-comm.c;h=4e9de57bd0d48e20840b1c168a4e76309f94ad45;hb=735ea6a81120f85d94666245f24aac233519568e;hp=2c54a443566a7fca4bc7e919d5bec6608f1fd176;hpb=53569322d40ed45abe0368ddb08eb4a2738afc37;p=lttng-ust.git diff --git a/liblttng-ust-comm/lttng-ust-comm.c b/liblttng-ust-comm/lttng-ust-comm.c index 2c54a443..4e9de57b 100644 --- a/liblttng-ust-comm/lttng-ust-comm.c +++ b/liblttng-ust-comm/lttng-ust-comm.c @@ -766,7 +766,7 @@ ssize_t count_ctx_fields_recursive(size_t nr_fields, } static -int serialize_string_encoding(enum ustctl_string_encodings *ue, +int serialize_string_encoding(int32_t *ue, enum lttng_string_encodings le) { switch (le) { @@ -1088,8 +1088,10 @@ int serialize_entries(struct ustctl_enum_entry **_entries, uentry = &entries[i]; lentry = <tng_entries[i]; - uentry->start = lentry->start; - uentry->end = lentry->end; + uentry->start.value = lentry->start.value; + uentry->start.signedness = lentry->start.signedness; + uentry->end.value = lentry->end.value; + uentry->end.signedness = lentry->end.signedness; strncpy(uentry->string, lentry->string, LTTNG_UST_SYM_NAME_LEN); uentry->string[LTTNG_UST_SYM_NAME_LEN - 1] = '\0'; }