]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Resolve remaining clang warning on OS X. Should be possible to build Valgrind on...
authorRhys Kidd <rhyskidd@gmail.com>
Sat, 6 Jun 2015 04:18:49 +0000 (04:18 +0000)
committerRhys Kidd <rhyskidd@gmail.com>
Sat, 6 Jun 2015 04:18:49 +0000 (04:18 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15325

coregrind/m_libcproc.c

index f25320a203859d3a6fbe6f5ab7529d58dfb3b9e6..539d040068106bcd500d9a7cb98567245b2699b3 100644 (file)
@@ -392,7 +392,7 @@ Int VG_(sysctl)(Int *name, UInt namelen, void *oldp, SizeT *oldlenp, void *newp,
    SysRes res;
 #  if defined(VGO_darwin)
    res = VG_(do_syscall6)(__NR___sysctl,
-                           name, namelen, oldp, oldlenp, newp, newlen);
+                           (UWord)name, namelen, (UWord)oldp, (UWord)oldlenp, (UWord)newp, newlen);
 #  else
    res = VG_(mk_SysRes_Error)(VKI_ENOSYS);
 #  endif