X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fctf-writer%2Fvalues.c;h=dc84b769f26a755656b38c3b6a627b111df1d90e;hb=6f85b96306474a896586ba6f30874975ab75e93a;hp=e67d8b590f5bd7f8b9176c37ad579b1a3ea7b002;hpb=c938519d8588b7e57fb534e68ecc8978fcbffcc7;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 {