From 35f696e8c51b3fa6b8f6f2e8baa038ae8f77bc2d Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sat, 23 Nov 2019 15:50:54 -0500 Subject: strict gcc-warning fixes, no object-change Signed-off-by: Thomas E. Dickey --- src/icons.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/icons.c') 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); } -- cgit v1.2.3