patch 8.2.3672: build failure with unsigned char
Problem: Build failure with unsigned char. Solution: Use int instead of char.
This commit is contained in:
@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3672,
|
||||||
/**/
|
/**/
|
||||||
3671,
|
3671,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
@ -253,14 +253,14 @@ error_exit(int ret, char *msg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
exit_on_ferror(char c, FILE *fpi)
|
exit_on_ferror(int c, FILE *fpi)
|
||||||
{
|
{
|
||||||
if (c == EOF && ferror(fpi))
|
if (c == EOF && ferror(fpi))
|
||||||
perror_exit(2);
|
perror_exit(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
putc_or_die(char c, FILE *fpo)
|
putc_or_die(int c, FILE *fpo)
|
||||||
{
|
{
|
||||||
if (putc(c, fpo) == EOF)
|
if (putc(c, fpo) == EOF)
|
||||||
perror_exit(3);
|
perror_exit(3);
|
||||||
|
|||||||
Reference in New Issue
Block a user