diff options
-rw-r--r-- | tapset/ChangeLog | 4 | ||||
-rw-r--r-- | tapset/aux_syscalls.stp | 2 |
2 files changed, 5 insertions, 1 deletions
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 <hunt@redhat.com> + + * aux_syscalls.stp (__get_compat_argv): Add cast. + 2007-07-31 Martin Hunt <hunt@redhat.com> * 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; |