]> granicus.if.org Git - strace/commitdiff
stat64: change address argument type from unsigned long to kernel_ureg_t
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 22 Dec 2016 20:50:45 +0000 (20:50 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 23 Dec 2016 19:26:58 +0000 (19:26 +0000)
* stat64.c (decode_struct_stat64): Change address argument type
from unsigned long to kernel_ureg_t.

stat64.c

index 3c816cd0dc1f87d153e841fc46705539fc9390c0..16d33c6d81d94ce8a7986eddfed3d817f68950fb 100644 (file)
--- a/stat64.c
+++ b/stat64.c
@@ -29,7 +29,7 @@
 #include "stat.h"
 
 static void
-decode_struct_stat64(struct tcb *tcp, const unsigned long addr)
+decode_struct_stat64(struct tcb *const tcp, const kernel_ureg_t addr)
 {
        struct strace_stat st;