diff options
Diffstat (limited to 'py/parsenumbase.c')
-rw-r--r-- | py/parsenumbase.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/parsenumbase.c b/py/parsenumbase.c index 31e4a9164d..8d057af187 100644 --- a/py/parsenumbase.c +++ b/py/parsenumbase.c @@ -28,7 +28,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 -mp_uint_t mp_parse_num_base(const char *str, mp_uint_t len, mp_uint_t *base) { +size_t mp_parse_num_base(const char *str, size_t len, int *base) { const byte *p = (const byte*)str; if (len <= 1) { goto no_prefix; |