diff options
| author | Tomas Bzatek <tbzatek@localhost.localdomain> | 2009-02-08 14:51:22 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@localhost.localdomain> | 2009-02-08 14:51:22 +0100 |
| commit | 07f393e96426dec1592291f68d1796ccbe6c40dd (patch) | |
| tree | 52d257db03551efa561956ea3085b588102d343c /common/treepathutils.c | |
| parent | eb9c9d72d0dcca73211eb7875bd0f13bb220a98a (diff) | |
| download | tuxcmd-modules-07f393e96426dec1592291f68d1796ccbe6c40dd.tar.xz | |
Fix gcc-4.4.0 compilation
Diffstat (limited to 'common/treepathutils.c')
| -rw-r--r-- | common/treepathutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/treepathutils.c b/common/treepathutils.c index 2e43f94..c8f2b18 100644 --- a/common/treepathutils.c +++ b/common/treepathutils.c @@ -191,7 +191,7 @@ unsigned long int filelist_find_index_by_path(struct PathTree *tree, const char void filelist_tree_add_item_recurr(struct PathTree *tree, const char *path, const char *original_pathstr, struct TVFSItem *item, unsigned long index) { - char *pos = strstr(path, "/"); + const char *pos = strstr(path, "/"); char *first_part; char *last_part; if (pos) { |
