Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libunwind Add parentheses



details:   https://anonhg.NetBSD.org/src/rev/b7ba4574f9d6
branches:  trunk
changeset: 1026389:b7ba4574f9d6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Nov 21 10:53:01 2021 +0000

description:
Add parentheses

diffstat:

 sys/lib/libunwind/Registers.hpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 354f2b56095a -r b7ba4574f9d6 sys/lib/libunwind/Registers.hpp
--- a/sys/lib/libunwind/Registers.hpp   Sun Nov 21 10:39:47 2021 +0000
+++ b/sys/lib/libunwind/Registers.hpp   Sun Nov 21 10:53:01 2021 +0000
@@ -1076,7 +1076,7 @@
   }
 
   bool validRegister(int num) const {
-    return num >= REGNO_MIPS64_PC && num <= REGNO_MIPS64_R31 ||
+    return (num >= REGNO_MIPS64_PC && num <= REGNO_MIPS64_R31) ||
         (num >= REGNO_MIPS64_MDHI && num <= REGNO_MIPS64_SIGRETURN);
   }
 



Home | Main Index | Thread Index | Old Index