summaryrefslogtreecommitdiffstats
path: root/fs/jffs
diff options
context:
space:
mode:
authorFelix Oxley <lkml@oxley.org>2006-02-03 12:04:15 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-03 17:32:05 +0100
commitbd3bfeb58aeddb660dc600ded2fa9243e0c2d12b (patch)
tree0e28c95b1f94f10e0bceb9a424b6a293b8b3ec7a /fs/jffs
parent[PATCH] drivers/isdn/sc/ioctl.c: copy_from_user() size fix (diff)
downloadlinux-bd3bfeb58aeddb660dc600ded2fa9243e0c2d12b.tar.xz
linux-bd3bfeb58aeddb660dc600ded2fa9243e0c2d12b.zip
[PATCH] fs/jffs/intrep.c: 255 is unsigned char
Signed-off-by: Felix Oxley <lkml@oxley.org> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jffs')
-rw-r--r--fs/jffs/intrep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs/intrep.c b/fs/jffs/intrep.c
index b2e95421d932..ce7b54b0b2b7 100644
--- a/fs/jffs/intrep.c
+++ b/fs/jffs/intrep.c
@@ -1965,7 +1965,7 @@ retry:
iovec_cnt++;
if (JFFS_GET_PAD_BYTES(raw_inode->nsize)) {
- static char allff[3]={255,255,255};
+ static unsigned char allff[3]={255,255,255};
/* Add some extra padding if necessary */
node_iovec[iovec_cnt].iov_base = allff;
node_iovec[iovec_cnt].iov_len =