Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/include Cast to sparc_cache_flush() argument ...



details:   https://anonhg.NetBSD.org/src/rev/1fa591854d11
branches:  trunk
changeset: 330815:1fa591854d11
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Tue Jul 22 20:41:37 2014 +0000

description:
Cast to sparc_cache_flush() argument types. This change makes it clear
thatr sparc_cache_flush() is defined by sljit (unlike other ports).

diffstat:

 sys/arch/sparc/include/sljitarch.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 2e8dd3a93f28 -r 1fa591854d11 sys/arch/sparc/include/sljitarch.h
--- a/sys/arch/sparc/include/sljitarch.h        Tue Jul 22 20:38:55 2014 +0000
+++ b/sys/arch/sparc/include/sljitarch.h        Tue Jul 22 20:41:37 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sljitarch.h,v 1.2 2013/11/17 12:01:58 alnsn Exp $      */
+/*     $NetBSD: sljitarch.h,v 1.3 2014/07/22 20:41:37 alnsn Exp $      */
 
 /*-
  * Copyright (c) 2012-2013 The NetBSD Foundation, Inc.
@@ -34,6 +34,6 @@
 #endif
 
 #define SLJIT_CACHE_FLUSH(from, to) \
-       sparc_cache_flush((from), (to))
+       sparc_cache_flush((sljit_ins *)(from), (sljit_ins *)(to))
 
 #endif



Home | Main Index | Thread Index | Old Index