summaryrefslogtreecommitdiff
path: root/src/iconmgr.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-05-31 12:43:04 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-05-31 12:48:55 -0700
commit55a26c49c8a976abb0ead8bd58da6260de61b739 (patch)
tree1d9bee988887fae4d4db9cf46da4c634b86dffe7 /src/iconmgr.c
parentee3dcf350b5621d7965a8b8185a3dc534bcc46c7 (diff)
Make some char pointers const as necessary to clear some gcc warnings
twm.c:544:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] Scr->iconmgr.name = "TWM"; ^ twm.c:545:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] Scr->iconmgr.icon_name = "Icons"; Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/iconmgr.c')
-rw-r--r--src/iconmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iconmgr.c b/src/iconmgr.c
index d9c4e76..ca7b307 100644
--- a/src/iconmgr.c
+++ b/src/iconmgr.c
@@ -61,7 +61,7 @@ CreateIconManagers(void)
char str[100];
char str1[100];
Pixel background;
- char *icon_name;
+ const char *icon_name;
if (Scr->NoIconManagers)
return;