Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm Add a function cast



details:   https://anonhg.NetBSD.org/src/rev/e5dcd6e1b70a
branches:  trunk
changeset: 966296:e5dcd6e1b70a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 24 18:34:22 2019 +0000

description:
Add a function cast

diffstat:

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

diffs (27 lines):

diff -r b348cca31b36 -r e5dcd6e1b70a sys/arch/arm/arm/disassem.c
--- a/sys/arch/arm/arm/disassem.c       Thu Oct 24 18:17:14 2019 +0000
+++ b/sys/arch/arm/arm/disassem.c       Thu Oct 24 18:34:22 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disassem.c,v 1.40 2018/10/30 09:05:51 skrll Exp $      */
+/*     $NetBSD: disassem.c,v 1.41 2019/10/24 18:34:22 christos Exp $   */
 
 /*
  * Copyright (c) 1996 Mark Brinicombe.
@@ -49,7 +49,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: disassem.c,v 1.40 2018/10/30 09:05:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disassem.c,v 1.41 2019/10/24 18:34:22 christos Exp $");
 
 #include <sys/systm.h>
 
@@ -951,7 +951,7 @@
 
 static const disasm_interface_t disassemble_di = {
        disassemble_readword, disassemble_printaddr,
-       (void (*)(const char *, ...))printf
+       __FPTRCAST(void (*)(const char *, ...), printf)
 };
 
 void



Home | Main Index | Thread Index | Old Index