Module Name:    src
Committed By:   christos
Date:           Tue Jul 17 00:30:11 UTC 2018

Modified Files:
        src/sys/arch/aarch64/aarch64: cpu_machdep.c

Log Message:
add missing cast


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/aarch64/aarch64/cpu_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/aarch64/aarch64/cpu_machdep.c
diff -u src/sys/arch/aarch64/aarch64/cpu_machdep.c:1.4 src/sys/arch/aarch64/aarch64/cpu_machdep.c:1.5
--- src/sys/arch/aarch64/aarch64/cpu_machdep.c:1.4	Mon Jul  9 02:19:53 2018
+++ src/sys/arch/aarch64/aarch64/cpu_machdep.c	Mon Jul 16 20:30:11 2018
@@ -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 @@ cpu_setmcontext(struct lwp *l, const mco
 			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) {

Reply via email to