summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-03-15 12:20:57 +0000
committerDamien George <damien.p.george@gmail.com>2016-03-15 12:20:57 +0000
commit0d1f8868b616254ee5df9a039da176c900fc6ee6 (patch)
tree93ae0baebbb7ffdd6a3e2d07b24ea7b91df590b3 /py/obj.h
parent77f85db41e56a081a0e4c743d9d0ba0babe41b65 (diff)
downloadmicropython-0d1f8868b616254ee5df9a039da176c900fc6ee6.tar.gz
micropython-0d1f8868b616254ee5df9a039da176c900fc6ee6.zip
py: For mp_buffer_info_t, change len type from mp_uint_t to size_t.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/obj.h b/py/obj.h
index 3d03394735..6959821cf5 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -425,7 +425,7 @@ typedef struct _mp_buffer_info_t {
//int ver; // ?
void *buf; // can be NULL if len == 0
- mp_uint_t len; // in bytes
+ size_t len; // in bytes
int typecode; // as per binary.h
// Rationale: to load arbitrary-sized sprites directly to LCD