From e1bf823e0c9c2d3d32cb750525bc54598dea7ded Mon Sep 17 00:00:00 2001 From: Scott D Phillips Date: Mon, 1 May 2017 13:51:48 -0700 Subject: [PATCH] validate: remove const from outfolder GOptionEntry's arg_data is of type gpointer which differs in constness from const gchar*, so remove constness from outfolder. This fixes a build issue with msvc. https://bugzilla.gnome.org/show_bug.cgi?id=782031 --- validate/tools/gst-validate-images-check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/tools/gst-validate-images-check.c b/validate/tools/gst-validate-images-check.c index 2ce9173e72..4203aaf49a 100644 --- a/validate/tools/gst-validate-images-check.c +++ b/validate/tools/gst-validate-images-check.c @@ -35,7 +35,7 @@ main (int argc, char **argv) GError *err = NULL; GstValidateRunner *runner = NULL; GOptionContext *ctx; - const gchar *outfolder = NULL; + gchar *outfolder = NULL; gfloat mssim = 0, lowest = 1, highest = -1; gdouble min_avg_similarity = 0.95, min_lowest_similarity = -1.0;