aboutsummaryrefslogtreecommitdiff
path: root/py/emitglue.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-11-27 12:23:18 +0000
committerDamien George <damien.p.george@gmail.com>2015-11-29 14:25:04 +0000
commitc3f64d9799cdf8af88087eebe6628e83d658405c (patch)
tree66be85a413d652243c384e43e84a417e40284ff6 /py/emitglue.c
parent4e7107a572b55321f3f483f0293dd19b4f752c9b (diff)
py: Change qstr_* functions to use size_t as the type for str len arg.
Diffstat (limited to 'py/emitglue.c')
-rw-r--r--py/emitglue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitglue.c b/py/emitglue.c
index 4eb9b76aa..26fe3dec9 100644
--- a/py/emitglue.c
+++ b/py/emitglue.c
@@ -492,7 +492,7 @@ STATIC void mp_print_uint(mp_print_t *print, mp_uint_t n) {
}
STATIC void save_qstr(mp_print_t *print, qstr qst) {
- mp_uint_t len;
+ size_t len;
const byte *str = qstr_data(qst, &len);
mp_print_uint(print, len);
mp_print_bytes(print, str, len);