Skip to content

Commit

Permalink
Align ID string representation with zenoh (lowercase) (#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc authored Oct 23, 2024
1 parent 6ca364b commit d1e63e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collections/string.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ _z_string_t _z_string_convert_bytes(const _z_slice_t *bs) {
return s;
}

const char c[] = "0123456789ABCDEF";
const char c[] = "0123456789abcdef";
for (size_t i = 0; i < bs->len; i++) {
s_val[i * (size_t)2] = c[(bs->start[i] & (uint8_t)0xF0) >> (uint8_t)4];
s_val[(i * (size_t)2) + 1] = c[bs->start[i] & (uint8_t)0x0F];
Expand Down

0 comments on commit d1e63e4

Please sign in to comment.