babl: drop a now deprecated const
authorØyvind Kolås <pippin@gimp.org>
Sat, 19 Feb 2022 17:04:31 +0000 (18:04 +0100)
committerØyvind Kolås <pippin@gimp.org>
Sat, 19 Feb 2022 17:04:31 +0000 (18:04 +0100)
babl/babl-format.c

index 982b851e2d5db8bda4f6182f26ed1c9e80cd4322..3a8e6c0de1ee55efb72547120670329111246bca 100644 (file)
@@ -346,7 +346,7 @@ babl_format_new (const void *first_arg,
   int            components = 0;
   BablModel     *model      = NULL;
   const Babl    *space      = babl_space ("sRGB");
-  const char    *doc        = NULL;
+  char          *doc        = NULL;
   BablComponent *component [BABL_MAX_COMPONENTS];
   BablSampling  *sampling  [BABL_MAX_COMPONENTS];
   const BablType*type      [BABL_MAX_COMPONENTS];