Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Cast to __syncicache() argument types.
details: https://anonhg.NetBSD.org/src/rev/2e8dd3a93f28
branches: trunk
changeset: 330814:2e8dd3a93f28
user: alnsn <alnsn%NetBSD.org@localhost>
date: Tue Jul 22 20:38:55 2014 +0000
description:
Cast to __syncicache() argument types.
diffstat:
sys/arch/powerpc/include/sljitarch.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r c6cc4676d1ad -r 2e8dd3a93f28 sys/arch/powerpc/include/sljitarch.h
--- a/sys/arch/powerpc/include/sljitarch.h Tue Jul 22 20:25:13 2014 +0000
+++ b/sys/arch/powerpc/include/sljitarch.h Tue Jul 22 20:38:55 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sljitarch.h,v 1.2 2013/11/25 23:53:44 alnsn Exp $ */
+/* $NetBSD: sljitarch.h,v 1.3 2014/07/22 20:38:55 alnsn Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -39,6 +39,6 @@
#endif
#define SLJIT_CACHE_FLUSH(from, to) \
- __syncicache((from), (to)-(from))
+ __syncicache((void *)(from), (size_t)((to) - (from)))
#endif
Home |
Main Index |
Thread Index |
Old Index