Mon, 18 May 2015 18:42:45 +0200
fuck -Wparentheses
ucx/avl.c | file | annotate | diff | comparison | revisions |
1.1 --- a/ucx/avl.c Mon May 18 18:39:19 2015 +0200 1.2 +++ b/ucx/avl.c Mon May 18 18:42:45 2015 +0200 1.3 @@ -146,8 +146,8 @@ 1.4 if (tree->root) { 1.5 UcxAVLNode *n = tree->root; 1.6 int cmpresult; 1.7 - while (cmpresult = tree->cmpfunc( 1.8 - ptrcast(key), ptrcast(n->key), tree->userdata)) { 1.9 + while ((cmpresult = tree->cmpfunc( 1.10 + ptrcast(key), ptrcast(n->key), tree->userdata))) { 1.11 UcxAVLNode *m = cmpresult > 0 ? n->right : n->left; 1.12 if (m) { 1.13 n = m;