summaryrefslogtreecommitdiff
path: root/py/parsenumbase.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-02-27 15:36:53 +1100
committerDamien George <damien.p.george@gmail.com>2020-02-28 10:33:03 +1100
commit69661f3343bedf86e514337cff63d96cc42f8859 (patch)
treeaf5dfb380ffdb75dda84828f63cf9d840d992f0f /py/parsenumbase.c
parent3f39d18c2b884d32f0443e2e8114ff9d7a14d718 (diff)
all: Reformat C and Python source code with tools/codeformat.py.
This is run with uncrustify 0.70.1, and black 19.10b0.
Diffstat (limited to 'py/parsenumbase.c')
-rw-r--r--py/parsenumbase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/parsenumbase.c b/py/parsenumbase.c
index ba1059122..94523a666 100644
--- a/py/parsenumbase.c
+++ b/py/parsenumbase.c
@@ -31,7 +31,7 @@
// find real radix base, and strip preceding '0x', '0o' and '0b'
// puts base in *base, and returns number of bytes to skip the prefix
size_t mp_parse_num_base(const char *str, size_t len, int *base) {
- const byte *p = (const byte*)str;
+ const byte *p = (const byte *)str;
if (len <= 1) {
goto no_prefix;
}
@@ -67,5 +67,5 @@ size_t mp_parse_num_base(const char *str, size_t len, int *base) {
*base = 10;
}
}
- return p - (const byte*)str;
+ return p - (const byte *)str;
}