Skip to content

Commit

Permalink
py/qstr: Make mp_decompress_rom_string decl and def the same.
Browse files Browse the repository at this point in the history
Fixes MSVC warning about mismatching argument types.
  • Loading branch information
stinos authored and dpgeorge committed Jul 18, 2022
1 parent d05377c commit e82aa2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/qstr.h
Expand Up @@ -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

Expand Down

0 comments on commit e82aa2a

Please sign in to comment.