From 0d1f8868b616254ee5df9a039da176c900fc6ee6 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 15 Mar 2016 12:20:57 +0000 Subject: [PATCH] py: For mp_buffer_info_t, change len type from mp_uint_t to size_t. --- py/obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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