From c01b837739a244a3230b8b6aaae7f44540ce4c6b Mon Sep 17 00:00:00 2001 From: hunt Date: Fri, 3 Aug 2007 20:48:36 +0000 Subject: 2007-08-03 Martin Hunt * aux_syscalls.stp (__get_compat_argv): Add cast. --- tapset/ChangeLog | 4 ++++ tapset/aux_syscalls.stp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 93beb971..e8d223cc 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,7 @@ +2007-08-03 Martin Hunt + + * aux_syscalls.stp (__get_compat_argv): Add cast. + 2007-07-31 Martin Hunt * syscalls*: Move sys32_sysctl to arch dirs. diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index 8f9fcb73..05c2a15a 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -670,7 +670,7 @@ function __get_compat_argv:string(a:long) if (vstr == NULL) break; - rc = _stp_strncpy_from_user(buf, vstr, 79); + rc = _stp_strncpy_from_user(buf, (char *)vstr, 79); if (rc <= 0) break; -- cgit