X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fctf-writer%2Fvalues.c;h=dc84b769f26a755656b38c3b6a627b111df1d90e;hb=b78363ea4bb7ae82bd3cd4e8fa404385765c8776;hp=e67d8b590f5bd7f8b9176c37ad579b1a3ea7b002;hpb=2431859f12cb59c937f7d91f93d15062565e8b8f;p=babeltrace.git diff --git a/lib/ctf-writer/values.c b/lib/ctf-writer/values.c index e67d8b59..dc84b769 100644 --- a/lib/ctf-writer/values.c +++ b/lib/ctf-writer/values.c @@ -88,8 +88,8 @@ struct bt_ctf_value bt_ctf_value_null_instance = { .frozen = BT_TRUE, }; -struct bt_ctf_value *bt_ctf_value_null = &bt_ctf_value_null_instance; -struct bt_ctf_private_value *bt_ctf_private_value_null = +struct bt_ctf_value *const bt_ctf_value_null = &bt_ctf_value_null_instance; +struct bt_ctf_private_value *const bt_ctf_private_value_null = (void *) &bt_ctf_value_null_instance; struct bt_ctf_value_bool {