mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
validateflow: Use glib variant of strcmp
safer, and avoids missing include
This commit is contained in:
parent
a750e3b540
commit
ec7cd5a092
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ runner_stopping (GstValidateRunner * runner, ValidateFlowOverride * flow)
|
|||
flow->expectations_file_path, flow->actual_results_file_path);
|
||||
|
||||
for (i = 0; lines_expected[i] && lines_actual[i]; i++) {
|
||||
if (strcmp (lines_expected[i], lines_actual[i])) {
|
||||
if (g_strcmp0 (lines_expected[i], lines_actual[i])) {
|
||||
show_mismatch_error (flow, lines_expected, lines_actual, i);
|
||||
goto stop;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue