grep: unsigned chars to fix gcc warnings.

This commit is contained in:
Ben Gras
2010-06-20 12:31:55 +00:00
parent 28663f45d6
commit 137495002d
2 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@
int
bin_file(FILE *f)
{
char buf[BUFSIZ];
unsigned char buf[BUFSIZ];
size_t i, m;
int ret = 0;
@@ -61,7 +61,7 @@ bin_file(FILE *f)
int
gzbin_file(gzFile *f)
{
char buf[BUFSIZ];
unsigned char buf[BUFSIZ];
int i, m;
int ret = 0;