projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8b90cf1
)
check: Attempt to fix type-punning warning in the gstiterator test
author
Jan Schmidt
<thaytan@noraisin.net>
Wed, 7 Oct 2009 15:36:31 +0000
(16:36 +0100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Wed, 7 Oct 2009 15:36:31 +0000
(16:36 +0100)
tests/check/gst/gstiterator.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstiterator.c
b/tests/check/gst/gstiterator.c
index
16e3078
..
8a2b464
100644
(file)
--- a/
tests/check/gst/gstiterator.c
+++ b/
tests/check/gst/gstiterator.c
@@
-176,12
+176,12
@@
GST_START_TEST (test_single)
it = gst_iterator_new_single (GST_TYPE_STRUCTURE, s,
(GstCopyFunction) gst_structure_copy, (GFreeFunc) gst_structure_free);
it = gst_iterator_new_single (GST_TYPE_STRUCTURE, s,
(GstCopyFunction) gst_structure_copy, (GFreeFunc) gst_structure_free);
- fail_unless (gst_iterator_next (it, (gpointer
*
) & i) == GST_ITERATOR_OK);
+ fail_unless (gst_iterator_next (it, (gpointer) & i) == GST_ITERATOR_OK);
fail_unless (strcmp (gst_structure_get_name (s),
gst_structure_get_name (i)) == 0);
gst_structure_free (i);
i = NULL;
fail_unless (strcmp (gst_structure_get_name (s),
gst_structure_get_name (i)) == 0);
gst_structure_free (i);
i = NULL;
- fail_unless (gst_iterator_next (it, (gpointer
*
) & i) == GST_ITERATOR_DONE);
+ fail_unless (gst_iterator_next (it, (gpointer) & i) == GST_ITERATOR_DONE);
fail_unless (i == NULL);
gst_iterator_free (it);
fail_unless (i == NULL);
gst_iterator_free (it);
@@
-190,7
+190,7
@@
GST_START_TEST (test_single)
it = gst_iterator_new_single (GST_TYPE_STRUCTURE, NULL,
(GstCopyFunction) gst_structure_copy, (GFreeFunc) gst_structure_free);
it = gst_iterator_new_single (GST_TYPE_STRUCTURE, NULL,
(GstCopyFunction) gst_structure_copy, (GFreeFunc) gst_structure_free);
- fail_unless (gst_iterator_next (it, (gpointer
*
) & i) == GST_ITERATOR_DONE);
+ fail_unless (gst_iterator_next (it, (gpointer) & i) == GST_ITERATOR_DONE);
fail_unless (i == NULL);
gst_iterator_free (it);
fail_unless (i == NULL);
gst_iterator_free (it);