From 4fb087c731af5282dc817bfc8350afe325eef532 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 5 Sep 2019 12:02:59 +0200 Subject: =?UTF-8?q?Initialization=20discards=20=E2=80=98const=E2=80=99=20q?= =?UTF-8?q?ualifier=20from=20pointer=20target=20type=20Remove=20317=20warn?= =?UTF-8?q?ings=20[-Wdiscarded-qualifiers].?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/typedefs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/typedefs.h') diff --git a/src/typedefs.h b/src/typedefs.h index 0206f51..82ce933 100644 --- a/src/typedefs.h +++ b/src/typedefs.h @@ -111,13 +111,13 @@ typedef struct { typedef struct { const char *mime_type; - char *default_ext; - char *name; + const char *default_ext; + const char *name; FrCommandCaps capabilities; } FrMimeTypeDescription; typedef struct { - char *ext; + const char *ext; const char *mime_type; } FrExtensionType; -- cgit v1.2.1