summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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