]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix another format string signedness warning, arm64-linux only. n-i-bz.
authorJulian Seward <jseward@acm.org>
Mon, 25 Feb 2019 10:48:43 +0000 (11:48 +0100)
committerJulian Seward <jseward@acm.org>
Mon, 25 Feb 2019 10:48:43 +0000 (11:48 +0100)
coregrind/m_syswrap/syswrap-arm64-linux.c

index 650f5b9f0dc434b3ace220539511dc68d8a53110..290320a9e8e524e023b913b938df083ffe756a30 100644 (file)
@@ -466,7 +466,8 @@ PRE(sys_rt_sigreturn)
 // space, and we should therefore not check anything it points to.
 PRE(sys_ptrace)
 {
-   PRINT("sys_ptrace ( %ld, %ld, %#lx, %#lx )", ARG1,ARG2,ARG3,ARG4);
+   PRINT("sys_ptrace ( %ld, %ld, %#lx, %#lx )",
+         (Word)ARG1,(Word)ARG2,ARG3,ARG4);
    PRE_REG_READ4(int, "ptrace",
                  long, request, long, pid, long, addr, long, data);
    switch (ARG1) {