summaryrefslogtreecommitdiff
path: root/py/objint_mpz.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-30 14:19:41 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-30 14:19:41 +0100
commitd182b98a37bde34c06ae705624da03cf381eb4dc (patch)
tree0e7599a07d2c3ad17be2a3a708759c07e638a20d /py/objint_mpz.c
parent9c4cbe2ac0ae4c51270f21ba9c974dd24f6b9d55 (diff)
py: Change all uint to mp_uint_t in obj.h.
Part of code cleanup, working towards resolving issue #50.
Diffstat (limited to 'py/objint_mpz.c')
-rw-r--r--py/objint_mpz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objint_mpz.c b/py/objint_mpz.c
index 6e347c742..05227368b 100644
--- a/py/objint_mpz.c
+++ b/py/objint_mpz.c
@@ -290,9 +290,9 @@ mp_obj_t mp_obj_new_int_from_uint(mp_uint_t value) {
return mp_obj_new_int_from_ll(value);
}
-mp_obj_t mp_obj_new_int_from_str_len(const char **str, uint len, bool neg, uint base) {
+mp_obj_t mp_obj_new_int_from_str_len(const char **str, mp_uint_t len, bool neg, mp_uint_t base) {
mp_obj_int_t *o = mp_obj_int_new_mpz();
- uint n = mpz_set_from_str(&o->mpz, *str, len, neg, base);
+ mp_uint_t n = mpz_set_from_str(&o->mpz, *str, len, neg, base);
*str += n;
return o;
}