Skip to content

Commit

Permalink
[PATCH] fs/jffs/intrep.c: 255 is unsigned char
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felix Oxley authored and Linus Torvalds committed Feb 3, 2006
1 parent abffa7d commit bd3bfeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/jffs/intrep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit bd3bfeb

Please sign in to comment.