1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00
19801: sys/od: increase the size of str_pos variable r=kaspar030 a=dylad



Co-authored-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
This commit is contained in:
bors[bot] 2023-07-06 11:48:14 +00:00 committed by GitHub
commit a5eb8915f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ void od_hex_dump_ext(const void *data, size_t data_len, uint8_t width, uint32_t
width = OD_WIDTH_DEFAULT;
}
#if MODULE_OD_STRING
uint8_t str_pos = 0;
size_t str_pos = 0;
#endif
for (unsigned int i = 0; i < data_len; i++) {
print_str(" ");