|
From: <sv...@va...> - 2015-06-06 04:18:56
|
Author: rhyskidd
Date: Sat Jun 6 05:18:49 2015
New Revision: 15325
Log:
Resolve remaining clang warning on OS X. Should be possible to build Valgrind on modern OS X without any warnings (note: does not hold for regression test suite).
Modified:
trunk/coregrind/m_libcproc.c
Modified: trunk/coregrind/m_libcproc.c
==============================================================================
--- trunk/coregrind/m_libcproc.c (original)
+++ trunk/coregrind/m_libcproc.c Sat Jun 6 05:18:49 2015
@@ -392,7 +392,7 @@
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
|