Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/groff/src/libs/libdriver fix an operator precedence...
details: https://anonhg.NetBSD.org/src/rev/c960d6248ad3
branches: trunk
changeset: 754632:c960d6248ad3
user: drochner <drochner%NetBSD.org@localhost>
date: Thu May 06 19:00:08 2010 +0000
description:
fix an operator precedence confusion which is harmless due to some luck
diffstat:
gnu/dist/groff/src/libs/libdriver/input.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 97c90cc1a20a -r c960d6248ad3 gnu/dist/groff/src/libs/libdriver/input.cpp
--- a/gnu/dist/groff/src/libs/libdriver/input.cpp Thu May 06 18:59:50 2010 +0000
+++ b/gnu/dist/groff/src/libs/libdriver/input.cpp Thu May 06 19:00:08 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: input.cpp,v 1.1.1.3 2006/02/06 18:13:59 wiz Exp $ */
+/* $NetBSD: input.cpp,v 1.2 2010/05/06 19:00:08 drochner Exp $ */
// -*- C++ -*-
@@ -997,7 +997,7 @@
inline bool
odd(const int n)
{
- return (n & 1 == 1) ? true : false;
+ return (n & 1) ? true : false;
}
//////////////////////////////////////////////////////////////////////
Home |
Main Index |
Thread Index |
Old Index