From 4450af84d1e6542037523dd96059032e8743620c Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 6 Mar 2023 09:07:37 +0100 Subject: [PATCH] [warnings] Fixed sizeof-pointer-memaccess warnings --- client/Wayland/wlf_cliprdr.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/Wayland/wlf_cliprdr.c b/client/Wayland/wlf_cliprdr.c index 9a15d8c00..3d8707799 100644 --- a/client/Wayland/wlf_cliprdr.c +++ b/client/Wayland/wlf_cliprdr.c @@ -53,15 +53,15 @@ static const char* mime_image[] = { "image/gif", "image/tiff" }; -static const char* mime_uri_list = "text/uri-list"; -static const char* mime_html = "text/html"; -static const char* mime_bmp = "image/bmp"; +static const char mime_uri_list[] = "text/uri-list"; +static const char mime_html[] = "text/html"; +static const char mime_bmp[] = "image/bmp"; -static const char* mime_gnome_copied_files = "x-special/gnome-copied-files"; -static const char* mime_mate_copied_files = "x-special/mate-copied-files"; +static const char mime_gnome_copied_files[] = "x-special/gnome-copied-files"; +static const char mime_mate_copied_files[] = "x-special/mate-copied-files"; -static const char* type_FileGroupDescriptorW = "FileGroupDescriptorW"; -static const char* type_HtmlFormat = "HTML Format"; +static const char type_FileGroupDescriptorW[] = "FileGroupDescriptorW"; +static const char type_HtmlFormat[] = "HTML Format"; typedef struct {