]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Less parens
authorDale Weiler <killfieldengine@gmail.com>
Mon, 17 Mar 2014 14:24:48 +0000 (10:24 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Mon, 17 Mar 2014 14:24:48 +0000 (10:24 -0400)
fold.c

diff --git a/fold.c b/fold.c
index a7a0be70b1a8155ad6ed528eeba1112262203061..af37c4c76f652c7e083f02ffa55e7188de0bc5f8 100644 (file)
--- a/fold.c
+++ b/fold.c
@@ -550,13 +550,13 @@ static GMQCC_INLINE ast_expression *fold_op_xor(fold_t *fold, ast_value *a, ast_
 
 static GMQCC_INLINE ast_expression *fold_op_lshift(fold_t *fold, ast_value *a, ast_value *b) {
     if (fold_can_2(a, b) && isfloats(a, b))
-        return fold_constgen_float(fold, (qcfloat_t)((floorf(fold_immvalue_float(a) * powf(2.0f, fold_immvalue_float(b))))));
+        return fold_constgen_float(fold, (qcfloat_t)floorf(fold_immvalue_float(a) * powf(2.0f, fold_immvalue_float(b))));
     return NULL;
 }
 
 static GMQCC_INLINE ast_expression *fold_op_rshift(fold_t *fold, ast_value *a, ast_value *b) {
     if (fold_can_2(a, b) && isfloats(a, b))
-        return fold_constgen_float(fold, (qcfloat_t)((floorf(fold_immvalue_float(a) / powf(2.0f, fold_immvalue_float(b))))));
+        return fold_constgen_float(fold, (qcfloat_t)floorf(fold_immvalue_float(a) / powf(2.0f, fold_immvalue_float(b))));
     return NULL;
 }