mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-11 02:24:13 +00:00
check: Avoid error: array subscript is above array bounds
Could have come up with something better for my 2000th commit to GStreamer...
This commit is contained in:
parent
dd5e14f983
commit
b792329dde
1 changed files with 1 additions and 1 deletions
|
@ -2433,7 +2433,7 @@ GST_START_TEST (test_serialize_int64_range)
|
|||
|
||||
fail_unless (int64_ranges_size == int64_range_strings_size);
|
||||
|
||||
while (i < (int64_ranges_size * 2)) {
|
||||
while (i + 1 < (int64_ranges_size * 2)) {
|
||||
if ((i + 1) % 2) {
|
||||
gchar *str;
|
||||
gchar *str2;
|
||||
|
|
Loading…
Reference in a new issue