changeset 2624:b5a47c710485

* tests/tm_basic.cxx (max): Was wrong way round. Resolves issue 1000636.
author jlarmour
date Fri, 14 Nov 2008 14:26:09 +0000
parents b3804ba9e6b1
children e38c98808295
files packages/kernel/current/ChangeLog packages/kernel/current/tests/tm_basic.cxx
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/packages/kernel/current/ChangeLog
+++ b/packages/kernel/current/ChangeLog
@@ -1,7 +1,7 @@
 2008-11-14  Jonathan Larmour  <jifl@eCosCentric.com>
 
-	* tests/tm_basic.cxx (max): Resolve issue 1000636 with extra
-	bracketing.
+	* tests/tm_basic.cxx (max): Was wrong way round. Resolves issue
+	1000636.
 
 2008-07-24  Jonathan Larmour  <jifl@eCosCentric.com>
 
--- a/packages/kernel/current/tests/tm_basic.cxx
+++ b/packages/kernel/current/tests/tm_basic.cxx
@@ -210,7 +210,7 @@ void run_flag_tests(void);
 void run_alarm_tests(void);
 
 #ifndef max
-#define max(n,m) ((m) > (n) ? (n) : (m))
+#define max(n,m) ((m) > (n) ? (m) : (n))
 #endif
 
 // Wait until a clock tick [real time clock] has passed.  This should keep it