summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-03-20 11:34:48 -0400
committerOri Bernstein <ori@eigenstate.org>2013-03-20 11:39:13 -0400
commit4d0895a4c80d5db3fe2c304b0820cb724d9ac0c3 (patch)
treefc6a3fc91b42516389a56e86aad1b2cc7dcfd3e6
parentc525bc13562d68ef0aa709b5ca4bcc1cfc156397 (diff)
downloadmc-4d0895a4c80d5db3fe2c304b0820cb724d9ac0c3.tar.gz
Fix max.
Flipped operator. Ooops.
-rw-r--r--parse/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/util.c b/parse/util.c
index 46ef852..bd60d04 100644
--- a/parse/util.c
+++ b/parse/util.c
@@ -361,7 +361,7 @@ char *swapsuffix(char *buf, size_t sz, char *s, char *suf, char *swap)
size_t max(size_t a, size_t b)
{
- if (a < b)
+ if (a > b)
return a;
else
return b;