diff options
author | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2011-07-13 10:05:24 +0000 |
---|---|---|
committer | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2011-07-13 10:05:24 +0000 |
commit | f9b1d7322c6f228834697344ac141ae678b2932f (patch) | |
tree | 288a99481e1ceae82a2e797b85ca9189924cc640 | |
parent | c17c6eface247fd7ac318bfaebe291ca5b9a61af (diff) |
Cast llseek argument to avoid warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11894 a5019735-40e9-0310-863c-91ae7b9d1cf9
-rw-r--r-- | coregrind/m_libcfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coregrind/m_libcfile.c b/coregrind/m_libcfile.c index 7d40e803..10fab9d7 100644 --- a/coregrind/m_libcfile.c +++ b/coregrind/m_libcfile.c @@ -217,7 +217,7 @@ Off64T VG_(lseek) ( Int fd, Off64T offset, Int whence ) Off64T result; SysRes res = VG_(do_syscall5)(__NR__llseek, fd, offset >> 32, offset & 0xffffffff, - &result, whence); + (UWord)&result, whence); return sr_isError(res) ? (-1) : result; # else SysRes res = VG_(do_syscall3)(__NR_lseek, fd, offset, whence); |