]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Cast llseek argument to avoid warning.
authorTom Hughes <tom@compton.nu>
Wed, 13 Jul 2011 10:05:24 +0000 (10:05 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 13 Jul 2011 10:05:24 +0000 (10:05 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11894

coregrind/m_libcfile.c

index 7d40e8039d2d4ed6c42e0a8cc413650ae8780804..10fab9d7e81a128c3545f888a1ccad156c734dcc 100644 (file)
@@ -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);