X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fattribute.c;h=4b6938d7da86c1e04ec077e1353e2d662e2b3c32;hb=8a9490128c708275a242badad25527fba94f6a51;hp=59241fb3e815cfc67862f6b52ec942de0ef81753;hpb=f7afe191fd58f0bf4bab9c9514c261535b99d32b;p=lttv.git diff --git a/ltt/branches/poly/lttv/attribute.c b/ltt/branches/poly/lttv/attribute.c index 59241fb3..4b6938d7 100644 --- a/ltt/branches/poly/lttv/attribute.c +++ b/ltt/branches/poly/lttv/attribute.c @@ -9,7 +9,7 @@ typedef union _AttributeValue { unsigned long dv_ulong; float dv_float; double dv_double; - LttvTime dv_time; + LttTime dv_time; gpointer dv_pointer; char *dv_string; GObject *dv_gobject; @@ -274,7 +274,7 @@ void lttv_attribute_recursive_add(LttvAttribute *dest, LttvAttribute *src) *value.v_double += a->value.dv_double; break; case LTTV_TIME: - TimeAdd(*value.v_time, *value.v_time, a->value.dv_time); + *value.v_time = ltt_time_add(*value.v_time, a->value.dv_time); break; case LTTV_POINTER: break;