diff options
author | Damien George <damien.p.george@gmail.com> | 2015-12-17 12:41:40 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-12-17 12:41:40 +0000 |
commit | 257848587fb03879e145a34c8065927cf4d1532f (patch) | |
tree | b624a1b7b6ddd1204dae557c432b793cdee42aa9 /py/mpstate.h | |
parent | 1d899e1783dd966452a40c6c29d6d8b8f9cd0e46 (diff) |
py/qstr: Use size_t instead of mp_uint_t when counting allocated bytes.
Diffstat (limited to 'py/mpstate.h')
-rw-r--r-- | py/mpstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/mpstate.h b/py/mpstate.h index c7604e03a..012b0ef18 100644 --- a/py/mpstate.h +++ b/py/mpstate.h @@ -138,8 +138,8 @@ typedef struct _mp_state_vm_t { // pointer and sizes to store interned string data // (qstr_last_chunk can be root pointer but is also stored in qstr pool) byte *qstr_last_chunk; - mp_uint_t qstr_last_alloc; - mp_uint_t qstr_last_used; + size_t qstr_last_alloc; + size_t qstr_last_used; // Stack top at the start of program // Note: this entry is used to locate the end of the root pointer section. |