fix bug in iattribute
[lttv.git] / ltt / branches / poly / lttv / lttv / traceset.c
index 568e67212eb5afb9e54a25a5f2b4169fad66c8f2..0e91c9dcf00ee7000daf34b344d83826430afc9a 100644 (file)
@@ -18,6 +18,7 @@
 
 
 #include <lttv/traceset.h>
+#include <lttv/iattribute.h>
 #include <stdio.h>
 
 /* A trace is a sequence of events gathered in the same tracing session. The
@@ -88,7 +89,7 @@ LttvTraceset *lttv_traceset_copy(LttvTraceset *s_orig)
         s->traces,
        g_ptr_array_index(s_orig->traces, i));
   }
-  s->a = LTTV_ATTRIBUTE(lttv_iattribute_deep_copy(LTTV_IATTRIBUTE(s_orig->a)));
+  s->a = LTTV_ATTRIBUTE(lttv_iattribute_deep_copy((LttvIAttribute*)s_orig->a));
   return s;
 }
 
This page took 0.022532 seconds and 4 git commands to generate.