py: For mp_buffer_info_t, change len type from mp_uint_t to size_t.
This commit is contained in:
parent
77f85db41e
commit
0d1f8868b6
2
py/obj.h
2
py/obj.h
|
@ -425,7 +425,7 @@ typedef struct _mp_buffer_info_t {
|
||||||
//int ver; // ?
|
//int ver; // ?
|
||||||
|
|
||||||
void *buf; // can be NULL if len == 0
|
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
|
int typecode; // as per binary.h
|
||||||
|
|
||||||
// Rationale: to load arbitrary-sized sprites directly to LCD
|
// Rationale: to load arbitrary-sized sprites directly to LCD
|
||||||
|
|
Loading…
Reference in New Issue