aboutsummaryrefslogtreecommitdiff
path: root/py/modstruct.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-30 14:59:21 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-30 14:59:21 +0100
commit4abff7500fb05430a2ce952a2430d4d0ba16047e (patch)
treeb88ab89a41da9d9d71ad95157a4cf9bbaffb11e6 /py/modstruct.c
parent4d91723587b27c5a1da7e759e3f761a16b35d4bd (diff)
py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h.
Part of code cleanup, working towards resolving issue #50.
Diffstat (limited to 'py/modstruct.c')
-rw-r--r--py/modstruct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modstruct.c b/py/modstruct.c
index 61da283da..8d4400638 100644
--- a/py/modstruct.c
+++ b/py/modstruct.c
@@ -101,7 +101,7 @@ STATIC mp_obj_t struct_calcsize(mp_obj_t fmt_in) {
char fmt_type = get_fmt_type(&fmt);
mp_uint_t size;
for (size = 0; *fmt; fmt++) {
- uint align = 1;
+ mp_uint_t align = 1;
mp_uint_t cnt = 1;
if (unichar_isdigit(*fmt)) {
cnt = get_fmt_num(&fmt);