summaryrefslogtreecommitdiff
path: root/lib/utils/buffer_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/buffer_helper.h')
-rw-r--r--lib/utils/buffer_helper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/utils/buffer_helper.h b/lib/utils/buffer_helper.h
index 47042e7ef..7487b9df5 100644
--- a/lib/utils/buffer_helper.h
+++ b/lib/utils/buffer_helper.h
@@ -28,7 +28,8 @@
#define MICROPY_INCLUDED_LIB_UTILS_BUFFER_HELPER_H
#include <stdint.h>
+#include <string.h>
-void normalize_buffer_bounds(int32_t* start, int32_t end, uint32_t* length);
+void normalize_buffer_bounds(int32_t* start, int32_t end, size_t* length);
#endif // MICROPY_INCLUDED_LIB_UTILS_BUFFER_HELPER_H