summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-11-28 17:51:27 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-11-28 17:51:27 +0100
commitae2be16f015cb0db7c5b6bd1669baaf53be702d1 (patch)
treec3741174f5f19cac05fbf721035669c637fa0150 /common
parent013b75b7d655115503397ea4284b776802605080 (diff)
downloadtuxcmd-modules-ae2be16f015cb0db7c5b6bd1669baaf53be702d1.tar.xz
Tune cflags and fix some warnings
Diffstat (limited to 'common')
-rw-r--r--common/filelist-vfs-intf.h2
-rw-r--r--common/filelist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/filelist-vfs-intf.h b/common/filelist-vfs-intf.h
index ce93e1e..ff3eeef 100644
--- a/common/filelist-vfs-intf.h
+++ b/common/filelist-vfs-intf.h
@@ -34,7 +34,7 @@
struct VfsFilelistData {
struct PathTree *files;
- unsigned int list_dir_index;
+ long int list_dir_index;
struct PathTree *list_dir_node;
char * list_dir_path;
diff --git a/common/filelist.c b/common/filelist.c
index cae250e..b6e5c0f 100644
--- a/common/filelist.c
+++ b/common/filelist.c
@@ -72,7 +72,7 @@ filelist_tree_free (struct PathTree *tree)
/* -------------------------------------------------------------------------------------- */
static void
-filelist_tree_print_recurr (struct PathTree *tree, int level)
+filelist_tree_print_recurr (struct PathTree *tree, unsigned int level)
{
char *fill;
int i;