]> granicus.if.org Git - strace/commitdiff
Fix wrong cast in powerpc code
authorWichert Akkerman <wichert@deephackmode.org>
Thu, 12 Apr 2001 09:00:47 +0000 (09:00 +0000)
committerWichert Akkerman <wichert@deephackmode.org>
Thu, 12 Apr 2001 09:00:47 +0000 (09:00 +0000)
process.c

index efa125f20c951afe164c1cca17a026900739ba08..13dd69a1f968fa0dfe59885e83f34d92568c6f19 100644 (file)
--- a/process.c
+++ b/process.c
@@ -460,7 +460,7 @@ int new;
                return -1;
        return 0;
 #elif defined(POWERPC)
-       if (ptrace(PTRACE_POKEUSER, tcp->pid, (CHAR*)(4*PT_R0), new) < 0)
+       if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*PT_R0), new) < 0)
                return -1;
 #elif defined(S390)
        long    pc;