mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 21:00:16 -05:00
More extensive use of data_off_t
This avoids the need of some type cast.
This commit is contained in:
parent
f5d1afaaed
commit
3c6c5c07c7
6 changed files with 31 additions and 31 deletions
|
|
@ -937,10 +937,10 @@ int advise_open(struct advise_struct* advise, int f)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int advise_write(struct advise_struct* advise, int f, uint64_t offset, uint64_t size)
|
||||
int advise_write(struct advise_struct* advise, int f, data_off_t offset, data_off_t size)
|
||||
{
|
||||
uint64_t handle_offset;
|
||||
uint64_t handle_size;
|
||||
data_off_t handle_offset;
|
||||
data_off_t handle_size;
|
||||
|
||||
(void)f;
|
||||
|
||||
|
|
@ -1075,7 +1075,7 @@ int advise_write(struct advise_struct* advise, int f, uint64_t offset, uint64_t
|
|||
return 0;
|
||||
}
|
||||
|
||||
int advise_read(struct advise_struct* advise, int f, uint64_t offset, uint64_t size)
|
||||
int advise_read(struct advise_struct* advise, int f, data_off_t offset, data_off_t size)
|
||||
{
|
||||
(void)advise;
|
||||
(void)f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue