summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-03-01 17:00:13 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-03-01 17:00:13 +0000
commit7230674b5dc955120780535c83260b1c6e67aeaa (patch)
tree749df4781d33bc386fbad74ac138e6fd21cbc59c /apps/tree.c
parente600af7db906a78cdf6a6056f40b8712f9847349 (diff)
downloadrockbox-7230674b5dc955120780535c83260b1c6e67aeaa.zip
rockbox-7230674b5dc955120780535c83260b1c6e67aeaa.tar.gz
rockbox-7230674b5dc955120780535c83260b1c6e67aeaa.tar.bz2
rockbox-7230674b5dc955120780535c83260b1c6e67aeaa.tar.xz
Oops, fix player warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12536 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 0aba9b1..d21ae13 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -377,7 +377,7 @@ static int update_dir(void)
|| global_settings.show_path_in_browser == SHOW_PATH_CURRENT)
{
gui_synclist_set_title(&tree_lists, tagtree_get_title(&tc),
- global_settings.show_icons?filetype_get_icon(ATTR_DIRECTORY):NULL);
+ global_settings.show_icons?filetype_get_icon(ATTR_DIRECTORY):(ICON)NULL);
}
else
{
@@ -391,7 +391,7 @@ static int update_dir(void)
if (global_settings.show_path_in_browser == SHOW_PATH_FULL)
{
gui_synclist_set_title(&tree_lists, tc.currdir,
- global_settings.show_icons?filetype_get_icon(ATTR_DIRECTORY):NULL);
+ global_settings.show_icons?filetype_get_icon(ATTR_DIRECTORY):(ICON)NULL);
}
else if (global_settings.show_path_in_browser == SHOW_PATH_CURRENT)
{
@@ -403,7 +403,7 @@ static int update_dir(void)
}
else
gui_synclist_set_title(&tree_lists, title,
- global_settings.show_icons?filetype_get_icon(ATTR_DIRECTORY):NULL);
+ global_settings.show_icons?filetype_get_icon(ATTR_DIRECTORY):(ICON)NULL);
}
else
{