Skip to content

Commit 0d1f886

Browse files
committed
py: For mp_buffer_info_t, change len type from mp_uint_t to size_t.
1 parent 77f85db commit 0d1f886

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/obj.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ typedef struct _mp_buffer_info_t {
425425
//int ver; // ?
426426

427427
void *buf; // can be NULL if len == 0
428-
mp_uint_t len; // in bytes
428+
size_t len; // in bytes
429429
int typecode; // as per binary.h
430430

431431
// Rationale: to load arbitrary-sized sprites directly to LCD

0 commit comments

Comments
 (0)