summaryrefslogtreecommitdiff
path: root/src/icons.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-11-23 15:50:54 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2019-11-23 15:50:54 -0500
commit35f696e8c51b3fa6b8f6f2e8baa038ae8f77bc2d (patch)
treee74f606c8b156b236abfcf5ea2fd9364fca96530 /src/icons.c
parentfc3c537836adbe209ab98e08b345874f522027cc (diff)
strict gcc-warning fixes, no object-change
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/icons.c')
-rw-r--r--src/icons.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/icons.c b/src/icons.c
index 308ae9f..a437963 100644
--- a/src/icons.c
+++ b/src/icons.c
@@ -366,7 +366,9 @@ CreateIconWindow(TwmWindow *tmp_win, int def_x, int def_y)
bm = None;
if (icon_name != NULL) {
- if ((bm = (Pixmap) LookInNameList(Scr->Icons, icon_name)) == None) {
+ if ((bm =
+ (Pixmap) (void *) LookInNameList(Scr->Icons,
+ icon_name)) == None) {
if ((bm = GetBitmap(icon_name)) != None)
AddToList(&Scr->Icons, icon_name, (char *) bm);
}
@@ -428,7 +430,9 @@ CreateIconWindow(TwmWindow *tmp_win, int def_x, int def_y)
bm = None;
if (icon_name != NULL) {
- if ((bm = (Pixmap) LookInNameList(Scr->Icons, icon_name)) == None) {
+ if ((bm =
+ (Pixmap) (void *) LookInNameList(Scr->Icons,
+ icon_name)) == None) {
if ((bm = GetBitmap(icon_name)) != None)
AddToList(&Scr->Icons, icon_name, (char *) bm);
}