Commit bd3bfeb5 authored by Felix Oxley's avatar Felix Oxley Committed by Linus Torvalds

[PATCH] fs/jffs/intrep.c: 255 is unsigned char

Signed-off-by: default avatarFelix Oxley <lkml@oxley.org>
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent abffa7da
...@@ -1965,7 +1965,7 @@ jffs_write_node(struct jffs_control *c, struct jffs_node *node, ...@@ -1965,7 +1965,7 @@ jffs_write_node(struct jffs_control *c, struct jffs_node *node,
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 =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment