summaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-03-20 21:47:07 +1100
committerDamien George <damien.p.george@gmail.com>2020-03-25 00:39:46 +1100
commitfeb25775851ba0c04b8d1013716f442258879d9c (patch)
tree04757d667f3304fde94e457e81569112daa67295 /py/mpconfig.h
parentf62cc41fac007f38b661e09d638385241084a540 (diff)
all: Remove spaces between nested paren and inside function arg paren.
Using new options enabled in the uncrustify configuration.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 33df8f3c5..371f2ce03 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -1600,7 +1600,7 @@ typedef double mp_float_t;
#ifndef MP_HTOBE16
#if MP_ENDIANNESS_LITTLE
-#define MP_HTOBE16(x) ((uint16_t)( (((x) & 0xff) << 8) | (((x) >> 8) & 0xff) ))
+#define MP_HTOBE16(x) ((uint16_t)((((x) & 0xff) << 8) | (((x) >> 8) & 0xff)))
#define MP_BE16TOH(x) MP_HTOBE16(x)
#else
#define MP_HTOBE16(x) (x)
@@ -1610,7 +1610,7 @@ typedef double mp_float_t;
#ifndef MP_HTOBE32
#if MP_ENDIANNESS_LITTLE
-#define MP_HTOBE32(x) ((uint32_t)( (((x) & 0xff) << 24) | (((x) & 0xff00) << 8) | (((x) >> 8) & 0xff00) | (((x) >> 24) & 0xff) ))
+#define MP_HTOBE32(x) ((uint32_t)((((x) & 0xff) << 24) | (((x) & 0xff00) << 8) | (((x) >> 8) & 0xff00) | (((x) >> 24) & 0xff)))
#define MP_BE32TOH(x) MP_HTOBE32(x)
#else
#define MP_HTOBE32(x) (x)