From: Tom Hughes Date: Wed, 13 Jul 2011 10:05:24 +0000 (+0000) Subject: Cast llseek argument to avoid warning. X-Git-Tag: svn/VALGRIND_3_7_0~343 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bfecb71da8168ea0de818c4583654456dbc0b5e;p=thirdparty%2Fvalgrind.git Cast llseek argument to avoid warning. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11894 --- diff --git a/coregrind/m_libcfile.c b/coregrind/m_libcfile.c index 7d40e8039d..10fab9d7e8 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);