Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/aarch64 add missing cast



details:   https://anonhg.NetBSD.org/src/rev/e1ab83ec5d11
branches:  trunk
changeset: 324135:e1ab83ec5d11
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jul 17 00:30:11 2018 +0000

description:
add missing cast

diffstat:

 sys/arch/aarch64/aarch64/cpu_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 072502c9511c -r e1ab83ec5d11 sys/arch/aarch64/aarch64/cpu_machdep.c
--- a/sys/arch/aarch64/aarch64/cpu_machdep.c    Tue Jul 17 00:29:55 2018 +0000
+++ b/sys/arch/aarch64/aarch64/cpu_machdep.c    Tue Jul 17 00:30:11 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_machdep.c,v 1.4 2018/07/09 06:19:53 ryo Exp $ */
+/* $NetBSD: cpu_machdep.c,v 1.5 2018/07/17 00:30:11 christos Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: cpu_machdep.c,v 1.4 2018/07/09 06:19:53 ryo Exp $");
+__KERNEL_RCSID(1, "$NetBSD: cpu_machdep.c,v 1.5 2018/07/17 00:30:11 christos Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -204,7 +204,7 @@
                        return error;
 
                memcpy(&tf->tf_regs, mcp->__gregs, sizeof(tf->tf_regs));
-               l->l_private = mcp->__gregs[_REG_TPIDR];
+               l->l_private = (void *)mcp->__gregs[_REG_TPIDR];
        }
 
        if (flags & _UC_FPU) {



Home | Main Index | Thread Index | Old Index