validate: remove const from outfolder
authorScott D Phillips <scott.d.phillips@intel.com>
Mon, 1 May 2017 20:51:48 +0000 (13:51 -0700)
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Thu, 4 May 2017 21:34:34 +0000 (14:34 -0700)
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

index 2ce9173..4203aaf 100644 (file)
@@ -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;