forked from Minki/linux
[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>
This commit is contained in:
parent
abffa7da99
commit
bd3bfeb58a
@ -1965,7 +1965,7 @@ retry:
|
|||||||
iovec_cnt++;
|
iovec_cnt++;
|
||||||
|
|
||||||
if (JFFS_GET_PAD_BYTES(raw_inode->nsize)) {
|
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 */
|
/* Add some extra padding if necessary */
|
||||||
node_iovec[iovec_cnt].iov_base = allff;
|
node_iovec[iovec_cnt].iov_base = allff;
|
||||||
node_iovec[iovec_cnt].iov_len =
|
node_iovec[iovec_cnt].iov_len =
|
||||||
|
Loading…
Reference in New Issue
Block a user