提交 bd3bfeb5 编写于 作者: F Felix Oxley 提交者: Linus Torvalds

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

Signed-off-by: NFelix Oxley <lkml@oxley.org>
Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 abffa7da
......@@ -1965,7 +1965,7 @@ jffs_write_node(struct jffs_control *c, struct jffs_node *node,
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 =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册