]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Fix PARA_MAX().
authorAndre Noll <maan@systemlinux.org>
Mon, 1 Dec 2008 20:50:11 +0000 (21:50 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 1 Dec 2008 20:50:11 +0000 (21:50 +0100)
Gimme that bag. Yes, the brown one. Quick.

para.h

diff --git a/para.h b/para.h
index 3f2da13a859782ba8c5a014d6e6511ecd97d1f28..218b8147add53bf6805b0a8135927a8e36faa95a 100644 (file)
--- a/para.h
+++ b/para.h
@@ -42,7 +42,7 @@
        typeof(x) _max1 = (x); \
        typeof(y) _max2 = (y); \
        (void) (&_max1 == &_max2); \
        typeof(x) _max1 = (x); \
        typeof(y) _max2 = (y); \
        (void) (&_max1 == &_max2); \
-       _max1 < _max2 ? _max1 : _max2; })
+       _max1 < _max2 ? _max2 : _max1; })
 
 /** Compute the absolute value of \a x. */
 #define PARA_ABS(x) ({ \
 
 /** Compute the absolute value of \a x. */
 #define PARA_ABS(x) ({ \