From d1e63e4ce6e93c206d6996865e9871d9f208c632 Mon Sep 17 00:00:00 2001 From: Alexander Bushnev Date: Wed, 23 Oct 2024 20:29:06 +0200 Subject: [PATCH] Align ID string representation with zenoh (lowercase) (#761) --- src/collections/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collections/string.c b/src/collections/string.c index 753c7cad5..bf74da4f3 100644 --- a/src/collections/string.c +++ b/src/collections/string.c @@ -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];