Changed argument type of fcntl syscall from uint32 to size_t.
Since this argument may be used to pass pointers, uint32 is not correct for 64-bit. Effectively no change on 32-bit targets, both size_t and uint32 are unsigned long there.
This commit is contained in:
@@ -253,7 +253,7 @@ extern int _kern_open_dir_entry_ref(dev_t device, ino_t inode,
|
||||
extern int _kern_open_dir(int fd, const char *path);
|
||||
extern int _kern_open_parent_dir(int fd, char *name,
|
||||
size_t nameLength);
|
||||
extern status_t _kern_fcntl(int fd, int op, uint32 argument);
|
||||
extern status_t _kern_fcntl(int fd, int op, size_t argument);
|
||||
extern status_t _kern_fsync(int fd);
|
||||
extern status_t _kern_flock(int fd, int op);
|
||||
extern off_t _kern_seek(int fd, off_t pos, int seekType);
|
||||
|
||||
Reference in New Issue
Block a user