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/a86ed5d1bcfa
branches:  trunk
changeset: 324719:a86ed5d1bcfa
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 17f4a63aeb45 -r a86ed5d1bcfa 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