refactor; uchar -> unsigned char
This commit is contained in:
parent
a84768bbec
commit
3353fd7795
1 changed files with 8 additions and 8 deletions
|
@ -1182,7 +1182,7 @@ printctrl(bwc_gl_ctrl *const control)
|
|||
printf("%s", cli_verbose);
|
||||
}
|
||||
|
||||
static uchar
|
||||
static unsigned char
|
||||
output_analysis(eas3_data *const ref_data, eas3_data *const org_data)
|
||||
{
|
||||
/*-----------------------*\
|
||||
|
@ -1531,7 +1531,7 @@ int main(int argc, char *argv[])
|
|||
goto OUT;
|
||||
}
|
||||
|
||||
if (fwrite(stream->out, sizeof(uchar), size, fp) != size)
|
||||
if (fwrite(stream->out, sizeof(unsigned char), size, fp) != size)
|
||||
{
|
||||
error_handle = EXIT_FAILURE;
|
||||
printf(WRTERROR);
|
||||
|
@ -1576,8 +1576,8 @@ int main(int argc, char *argv[])
|
|||
fseek(fp, root, SEEK_SET);
|
||||
|
||||
/* Read the compressed data from the input file. */
|
||||
input = calloc(Lfield, sizeof(uchar));
|
||||
if (fread(input, sizeof(uchar), Lfield, fp) != Lfield)
|
||||
input = calloc(Lfield, sizeof(unsigned char));
|
||||
if (fread(input, sizeof(unsigned char), Lfield, fp) != Lfield)
|
||||
{
|
||||
error_handle = EXIT_FAILURE;
|
||||
printf(RDERROR);
|
||||
|
@ -1646,8 +1646,8 @@ int main(int argc, char *argv[])
|
|||
fseek(fp, root, SEEK_SET);
|
||||
|
||||
/* Read the compressed data from the input file. */
|
||||
input = calloc(Lfield, sizeof(uchar));
|
||||
if (fread(input, sizeof(uchar), Lfield, fp) != Lfield)
|
||||
input = calloc(Lfield, sizeof(unsigned char));
|
||||
if (fread(input, sizeof(unsigned char), Lfield, fp) != Lfield)
|
||||
{
|
||||
error_handle = EXIT_FAILURE;
|
||||
printf(RDERROR);
|
||||
|
@ -1709,8 +1709,8 @@ int main(int argc, char *argv[])
|
|||
fseek(fp, root, SEEK_SET);
|
||||
|
||||
/* Read the compressed data from the input file. */
|
||||
input = calloc(Lfield, sizeof(uchar));
|
||||
if (fread(input, sizeof(uchar), Lfield, fp) != Lfield)
|
||||
input = calloc(Lfield, sizeof(unsigned char));
|
||||
if (fread(input, sizeof(unsigned char), Lfield, fp) != Lfield)
|
||||
{
|
||||
error_handle = EXIT_FAILURE;
|
||||
printf(RDERROR);
|
||||
|
|
Loading…
Reference in a new issue