1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use

__LONG_LONG_PAIR macro.
This commit is contained in:
Ulrich Drepper
2006-04-24 17:09:55 +00:00
parent a346370d58
commit 589abe9337
2 changed files with 7 additions and 3 deletions

View File

@ -29,9 +29,10 @@
int
sync_file_range (int fd, __off64_t from, __off64_t to, int flags)
{
return INLINE_SYSCALL (sync_file_range, 6, fd, (off_t) (from >> 32),
(off_t) (from & 0xffffffff), (off_t) (to >> 32),
(off_t) (to & 0xffffffff), flags);
return INLINE_SYSCALL (sync_file_range, 6, fd,
__LONG_LONG_PAIR ((long) (from >> 32), (long) from),
__LONG_LONG_PAIR ((long) (to >> 32), (long) to),
flags);
}
#else
int