mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 22:05:23 +00:00
getc() returns int, not char
This commit is contained in:
@@ -69,7 +69,7 @@ static int intern PROTO ((char *, int));
|
||||
static int get_char (cfile)
|
||||
FILE *cfile;
|
||||
{
|
||||
char c = getc (cfile);
|
||||
int c = getc (cfile);
|
||||
if (!ugflag) {
|
||||
if (c == EOL) {
|
||||
line++;
|
||||
|
Reference in New Issue
Block a user