summaryrefslogtreecommitdiff
path: root/src/icons.c
diff options
context:
space:
mode:
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);
}