mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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.
This commit is contained in:
parent
7bb59c7efc
commit
6e367f59e2
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2008-04-23 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/gstsegment.c:
|
* gst/gstsegment.c:
|
||||||
|
|
|
@ -99,7 +99,7 @@ gst_segment_copy (GstSegment * segment)
|
||||||
GstSegment *result = NULL;
|
GstSegment *result = NULL;
|
||||||
|
|
||||||
if (segment) {
|
if (segment) {
|
||||||
result = g_slice_dup (GstSegment, segment);
|
result = (GstSegment *) g_slice_copy (sizeof (GstSegment), segment);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue