X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Fstruct.c;h=b1bedda8849c24e5699fdb281afbccd4c95e1fa1;hp=8c1a5834eb58fa3825d9fb46996789f48ab99013;hb=d06d03dbf4babd3426818f23770e15058a6876c4;hpb=11796b9629d5a870163e4edd67e457576553aaef diff --git a/types/struct.c b/types/struct.c index 8c1a5834..b1bedda8 100644 --- a/types/struct.c +++ b/types/struct.c @@ -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);