diff options
author | Damien George <damien.p.george@gmail.com> | 2014-07-03 13:25:24 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-07-03 13:25:24 +0100 |
commit | 40f3c026823f8951a2fa04e9c7fc93c75bc27bec (patch) | |
tree | c9c8210654c7114f00c5234a8481d9b5fbd28ce0 /stmhal/modos.c | |
parent | 065aba587571150074ea79483ffa72c0fe6bc8c8 (diff) |
Rename machine_(u)int_t to mp_(u)int_t.
See discussion in issue #50.
Diffstat (limited to 'stmhal/modos.c')
-rw-r--r-- | stmhal/modos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/modos.c b/stmhal/modos.c index e0df05ca6..dd6fd67ec 100644 --- a/stmhal/modos.c +++ b/stmhal/modos.c @@ -162,7 +162,7 @@ STATIC mp_obj_t os_sync(void) { MP_DEFINE_CONST_FUN_OBJ_0(os_sync_obj, os_sync); STATIC mp_obj_t os_urandom(mp_obj_t num) { - machine_int_t n = mp_obj_get_int(num); + mp_int_t n = mp_obj_get_int(num); byte *data; mp_obj_t o = mp_obj_str_builder_start(&mp_type_bytes, n, &data); for (int i = 0; i < n; i++) { |