Add array
[babeltrace.git] / types / struct.c
index 8c1a5834eb58fa3825d9fb46996789f48ab99013..b1bedda8849c24e5699fdb281afbccd4c95e1fa1 100644 (file)
@@ -37,7 +37,7 @@ void struct_copy(struct stream_pos *dest, const struct format *fdest,
                                                     struct field, i);
                struct type_class *field_class = field->type_class;
 
-               field_class->copy(dest, fdest, src, fsrc, type_class);
+               field_class->copy(dest, fdest, src, fsrc, &field_class->p);
 
        }
        fsrc->struct_end(src, struct_class);
This page took 0.022552 seconds and 4 git commands to generate.