Fix: convey enum value signedness into metadata
[lttng-ust.git] / liblttng-ust-comm / lttng-ust-comm.c
index 2c54a443566a7fca4bc7e919d5bec6608f1fd176..ecc23821fb6fa29624dcbc25564c5011eed4aafb 100644 (file)
@@ -1088,8 +1088,10 @@ int serialize_entries(struct ustctl_enum_entry **_entries,
                uentry = &entries[i];
                lentry = &lttng_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';
        }
This page took 0.024221 seconds and 4 git commands to generate.