diff options
author | stijn <stijn@ignitron.net> | 2022-07-14 15:24:27 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-07-18 23:27:28 +1000 |
commit | e82aa2abc46f93abcbed2843c4f23f1838abb844 (patch) | |
tree | 98c97bf4b3ee2292ccd0c78c288c344808d182ce /py | |
parent | d05377c060f40c9287804d9cc0897d69eaae11a5 (diff) |
py/qstr: Make mp_decompress_rom_string decl and def the same.
Fixes MSVC warning about mismatching argument types.
Diffstat (limited to 'py')
-rw-r--r-- | py/qstr.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |