X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Ffloat.c;fp=types%2Ffloat.c;h=99c2acc7c7d7fdddec96bf1073dc02516b8bf0e8;hp=3b61f8faf0a3ec16b0b95b6544cd058cdabd008e;hb=2ea5cc8bf09351765d7cba940a822569dcd2c856;hpb=d7503815516dc78258eb0a6d7ffd2aa9e83caadd diff --git a/types/float.c b/types/float.c index 3b61f8fa..99c2acc7 100644 --- a/types/float.c +++ b/types/float.c @@ -100,23 +100,23 @@ struct bt_definition * _float->p.path = bt_new_definition_path(parent_scope, field_name, root_name); if (float_declaration->byte_order == LITTLE_ENDIAN) { tmp = float_declaration->mantissa->p.definition_new(&float_declaration->mantissa->p, - _float->p.scope, g_quark_from_static_string("mantissa"), 0, NULL); + _float->p.scope, g_quark_from_string("mantissa"), 0, NULL); _float->mantissa = container_of(tmp, struct definition_integer, p); tmp = float_declaration->exp->p.definition_new(&float_declaration->exp->p, - _float->p.scope, g_quark_from_static_string("exp"), 1, NULL); + _float->p.scope, g_quark_from_string("exp"), 1, NULL); _float->exp = container_of(tmp, struct definition_integer, p); tmp = float_declaration->sign->p.definition_new(&float_declaration->sign->p, - _float->p.scope, g_quark_from_static_string("sign"), 2, NULL); + _float->p.scope, g_quark_from_string("sign"), 2, NULL); _float->sign = container_of(tmp, struct definition_integer, p); } else { tmp = float_declaration->sign->p.definition_new(&float_declaration->sign->p, - _float->p.scope, g_quark_from_static_string("sign"), 0, NULL); + _float->p.scope, g_quark_from_string("sign"), 0, NULL); _float->sign = container_of(tmp, struct definition_integer, p); tmp = float_declaration->exp->p.definition_new(&float_declaration->exp->p, - _float->p.scope, g_quark_from_static_string("exp"), 1, NULL); + _float->p.scope, g_quark_from_string("exp"), 1, NULL); _float->exp = container_of(tmp, struct definition_integer, p); tmp = float_declaration->mantissa->p.definition_new(&float_declaration->mantissa->p, - _float->p.scope, g_quark_from_static_string("mantissa"), 2, NULL); + _float->p.scope, g_quark_from_string("mantissa"), 2, NULL); _float->mantissa = container_of(tmp, struct definition_integer, p); } _float->p.ref = 1;