diff options
Diffstat (limited to 'src/iconmgr.c')
-rw-r--r-- | src/iconmgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iconmgr.c b/src/iconmgr.c index f7b01f0..d9c4e76 100644 --- a/src/iconmgr.c +++ b/src/iconmgr.c @@ -133,7 +133,7 @@ IconMgr *AllocateIconManager(char *name, char *icon_name, char *geom, int column if (Scr->NoIconManagers) return NULL; - p = (IconMgr *)malloc(sizeof(IconMgr)); + p = malloc(sizeof(IconMgr)); p->name = name; p->icon_name = icon_name; p->geometry = geom; @@ -368,7 +368,7 @@ WList *AddIconManager(TwmWindow *tmp_win) &tmp_win->class)) == NULL) ip = &Scr->iconmgr; - tmp = (WList *) malloc(sizeof(WList)); + tmp = malloc(sizeof(WList)); tmp->iconmgr = ip; tmp->next = NULL; tmp->active = FALSE; |