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:
ee1bbe2
)
tests: event: fix build failure
author
Thiago Santos
<thiagoss@osg.samsung.com>
Wed, 26 Aug 2015 12:29:05 +0000
(09:29 -0300)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Wed, 26 Aug 2015 12:29:05 +0000
(09:29 -0300)
gst/gstevent.c:250:5: error: ‘for’ loop initial declarations are only
allowed in C99 or C11 mode
tests/check/gst/gstevent.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstevent.c
b/tests/check/gst/gstevent.c
index
0983a69
..
387f229
100644
(file)
--- a/
tests/check/gst/gstevent.c
+++ b/
tests/check/gst/gstevent.c
@@
-243,11
+243,12
@@
GST_START_TEST (create_events)
const gchar *parsed_id;
GstBuffer *parsed_data;
const gchar clearkey_sys_id[] = "78f32170-d883-11e0-9572-0800200c9a66";
+ gsize offset;
data = gst_buffer_new ();
mem = gst_allocator_alloc (NULL, 40, NULL);
gst_buffer_insert_memory (data, -1, mem);
- for (
gsize
offset = 0; offset < 40; offset += 4) {
+ for (offset = 0; offset < 40; offset += 4) {
gst_buffer_fill (data, offset, "pssi", 4);
}
ASSERT_MINI_OBJECT_REFCOUNT (data, "data", 1);