warnings: Add explict casts to silence many compiler warnings about sign comparisions.
[yaboot.git] / second / fs_ext2.c
index a8bdf6bdf6d8de71a3bdf11275317eb9d6f234b5..a85958f0323f54e4d73c00ce158d8bc70208f8d1 100644 (file)
@@ -109,7 +109,7 @@ static unsigned long read_total;
 static unsigned long read_max;
 static struct boot_file_t* read_cur_file;
 static errcode_t read_result;
-static char* read_buffer;
+static unsigned char* read_buffer;
 
 static int read_dump_range(void);
 static int read_iterator(ext2_filsys fs, blk_t *blocknr, int lg_block, void *private);