diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-09-25 18:24:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-09-25 18:24:53 +0000 |
commit | a38c409d6a9b2656d7efb469fb9c93d9c4112897 (patch) | |
tree | 4320998a3db694698480d9ea738d75b81793e448 /package/mtd/src/jffs2.c | |
parent | 5a0a3cbc0016743e4092b7b21b3f6fddf63a8bde (diff) | |
download | upstream-a38c409d6a9b2656d7efb469fb9c93d9c4112897.tar.gz upstream-a38c409d6a9b2656d7efb469fb9c93d9c4112897.tar.bz2 upstream-a38c409d6a9b2656d7efb469fb9c93d9c4112897.zip |
fix some warnings
SVN-Revision: 12707
Diffstat (limited to 'package/mtd/src/jffs2.c')
-rw-r--r-- | package/mtd/src/jffs2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/src/jffs2.c b/package/mtd/src/jffs2.c index 5654f93e07..c683b51d18 100644 --- a/package/mtd/src/jffs2.c +++ b/package/mtd/src/jffs2.c @@ -247,7 +247,7 @@ void mtd_parse_jffs2data(const char *buf, const char *dir) struct jffs2_raw_dirent *de = (struct jffs2_raw_dirent *) node; /* is this the right directory name and is it a subdirectory of / */ - if (*dir && (de->pino == 1) && !strncmp(de->name, dir, de->nsize)) + if (*dir && (de->pino == 1) && !strncmp((char *) de->name, dir, de->nsize)) target_ino = de->ino; /* store the last inode and version numbers for adding extra files */ |