diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-02-01 03:28:48 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-03 20:07:58 +0100 |
commit | 391e8bbd38474b9f85b1f3933394a79ea66fe1e2 (patch) | |
tree | 78298556c37ef09f4f87138bc1c391f4f5dee917 /fs/udf/dir.c | |
parent | nilfs: sanitize const/signedness in dealing with ->d_name.name (diff) | |
download | linux-391e8bbd38474b9f85b1f3933394a79ea66fe1e2.tar.xz linux-391e8bbd38474b9f85b1f3933394a79ea66fe1e2.zip |
sanitize const/signedness for udf
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/udf/dir.c')
-rw-r--r-- | fs/udf/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/dir.c b/fs/udf/dir.c index 61d9a76a3a69..f0f2a436251e 100644 --- a/fs/udf/dir.c +++ b/fs/udf/dir.c @@ -45,8 +45,8 @@ static int do_udf_readdir(struct inode *dir, struct file *filp, int block, iblock; loff_t nf_pos = (filp->f_pos - 1) << 2; int flen; - char *fname = NULL; - char *nameptr; + unsigned char *fname = NULL; + unsigned char *nameptr; uint16_t liu; uint8_t lfi; loff_t size = udf_ext0_offset(dir) + dir->i_size; |