summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2022-07-14 15:24:27 +0200
committerDamien George <damien@micropython.org>2022-07-18 23:27:28 +1000
commite82aa2abc46f93abcbed2843c4f23f1838abb844 (patch)
tree98c97bf4b3ee2292ccd0c78c288c344808d182ce
parentd05377c060f40c9287804d9cc0897d69eaae11a5 (diff)
py/qstr: Make mp_decompress_rom_string decl and def the same.
Fixes MSVC warning about mismatching argument types.
-rw-r--r--py/qstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/qstr.h b/py/qstr.h
index fa634f90b..a463b67a1 100644
--- a/py/qstr.h
+++ b/py/qstr.h
@@ -93,7 +93,7 @@ void qstr_pool_info(size_t *n_pool, size_t *n_qstr, size_t *n_str_data_bytes, si
void qstr_dump_data(void);
#if MICROPY_ROM_TEXT_COMPRESSION
-void mp_decompress_rom_string(byte *dst, mp_rom_error_text_t src);
+void mp_decompress_rom_string(byte *dst, const mp_rom_error_text_t src);
#define MP_IS_COMPRESSED_ROM_STRING(s) (*(byte *)(s) == 0xff)
#endif