Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include Add parentheses around macro arguments.



details:   https://anonhg.NetBSD.org/src/rev/a87f41222aaf
branches:  trunk
changeset: 797572:a87f41222aaf
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Tue Jul 22 20:16:39 2014 +0000

description:
Add parentheses around macro arguments.

diffstat:

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

diffs (18 lines):

diff -r 9c7a10ca0333 -r a87f41222aaf sys/arch/arm/include/sljitarch.h
--- a/sys/arch/arm/include/sljitarch.h  Tue Jul 22 19:54:55 2014 +0000
+++ b/sys/arch/arm/include/sljitarch.h  Tue Jul 22 20:16:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sljitarch.h,v 1.1 2014/06/17 06:36:39 alnsn Exp $      */
+/*     $NetBSD: sljitarch.h,v 1.2 2014/07/22 20:16:39 alnsn Exp $      */
 
 /*-
  * Copyright (c) 2014 Alexander Nasonov.
@@ -53,7 +53,7 @@
        cpu_icache_sync_range((vaddr_t)(from), (vsize_t)((to) - (from)))
 #else
 #define SLJIT_CACHE_FLUSH(from, to) \
-       (void)arm_sync_icache((uintptr_t)(from), (size_t)(to - from))
+       (void)arm_sync_icache((uintptr_t)(from), (size_t)((to) - (from)))
 #endif
 
 #endif



Home | Main Index | Thread Index | Old Index