common: fix all compiler warnings
This commit is contained in:
@@ -12,7 +12,7 @@ static enum ivy_status file_readline(
|
||||
}
|
||||
|
||||
struct ivy_file *f = (struct ivy_file *)src;
|
||||
if (!fgets(buf, count, f->f_fp)) {
|
||||
if (!fgets(buf, (int)count, f->f_fp)) {
|
||||
return feof(f->f_fp) ? IVY_ERR_EOF : IVY_ERR_IO_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user