Commit 6e367f59 authored by Stefan Kost's avatar Stefan Kost
Browse files

gst/gstsegment.c: The glib macro seems to be borked. Use g_slice_copy directly...

gst/gstsegment.c: The glib macro seems to be borked. Use g_slice_copy directly and cast in the hope that this fixes t...

Original commit message from CVS:
* gst/gstsegment.c:
The glib macro seems to be borked. Use g_slice_copy directly and cast
in the hope that this fixes the warning on 64bit.
parent 7bb59c7e
2008-04-23 Stefan Kost <ensonic@users.sf.net>
* gst/gstsegment.c:
The glib macro seems to be borked. Use g_slice_copy directly and cast
in the hope that this fixes the warning on 64bit.
2008-04-23 Stefan Kost <ensonic@users.sf.net>
 
* gst/gstsegment.c:
......
......@@ -99,7 +99,7 @@ gst_segment_copy (GstSegment * segment)
GstSegment *result = NULL;
if (segment) {
result = g_slice_dup (GstSegment, segment);
result = (GstSegment *) g_slice_copy (sizeof (GstSegment), segment);
}
return result;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment