]> err.no Git - linux-2.6/commitdiff
[PATCH] fs/jffs/intrep.c: 255 is unsigned char
authorFelix Oxley <lkml@oxley.org>
Fri, 3 Feb 2006 11:04:15 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:05 +0000 (08:32 -0800)
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>
fs/jffs/intrep.c

index b2e95421d932025407f758bb590d49b165a0a05a..ce7b54b0b2b7596333276bdcf42d40cf3011df0a 100644 (file)
@@ -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 =