Type-change to ssize_t to (app|pl)ease ppc platform.
This commit is contained in:
parent
b633aa9451
commit
2f203e818f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219097
@ -56,7 +56,7 @@ static const char *
|
|||||||
fifolog_int_open_i(struct fifolog_file *f, const char *fname, int mode)
|
fifolog_int_open_i(struct fifolog_file *f, const char *fname, int mode)
|
||||||
{
|
{
|
||||||
struct stat st;
|
struct stat st;
|
||||||
unsigned u;
|
ssize_t u;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
f->fd = open(fname, mode ? O_RDWR : O_RDONLY);
|
f->fd = open(fname, mode ? O_RDWR : O_RDONLY);
|
||||||
|
Loading…
Reference in New Issue
Block a user