Fix c++ compiler warnings
authorColin Clark <colin.clark@cclark.uk>
Mon, 3 Apr 2023 08:42:35 +0000 (09:42 +0100)
committerColin Clark <colin.clark@cclark.uk>
Mon, 3 Apr 2023 08:42:35 +0000 (09:42 +0100)
Bug fix for previous commit

src/rcfile.cc

index 35905c8..22ed00e 100644 (file)
@@ -225,7 +225,7 @@ gboolean read_int_option_clamp(const gchar *option, const gchar *label, const gc
        return ret;
 }
 
-void write_int_unit_option(GString *str, gint UNUSED(indent), gchar *label, gint n, gint subunits)
+void write_int_unit_option(GString *str, gint UNUSED(indent), const gchar *label, gint n, gint subunits)
 {
        gint l, r;