py/qstr: Make mp_decompress_rom_string decl and def the same.

Fixes MSVC warning about mismatching argument types.
This commit is contained in:
stijn 2022-07-14 15:24:27 +02:00 committed by Damien George
parent d05377c060
commit e82aa2abc4

View File

@ -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