summaryrefslogtreecommitdiff
path: root/src/iconmgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iconmgr.c')
-rw-r--r--src/iconmgr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iconmgr.c b/src/iconmgr.c
index 87749b7..5af92ad 100644
--- a/src/iconmgr.c
+++ b/src/iconmgr.c
@@ -133,7 +133,7 @@ AllocateIconManager(char *name, char *icon_name, char *geom, int columns)
if (Scr->NoIconManagers)
return NULL;
- p = malloc(sizeof(IconMgr));
+ p = (IconMgr *) malloc(sizeof(IconMgr));
p->name = name;
p->icon_name = icon_name;
p->geometry = geom;
@@ -370,7 +370,7 @@ AddIconManager(TwmWindow *tmp_win)
&tmp_win->xclass)) == NULL)
ip = &Scr->iconmgr;
- tmp = malloc(sizeof(WList));
+ tmp = (WList *) malloc(sizeof(WList));
tmp->iconmgr = ip;
tmp->next = NULL;
tmp->active = FALSE;