From 9a1edb7047cf8a73f3d5a904ab5bb1dece72892e Mon Sep 17 00:00:00 2001 From: jamesfeatherston Date: Tue, 2 Dec 2025 18:22:22 -0600 Subject: [PATCH] Enumerated all values in array Signed-off-by: jamesfeatherston --- src/lxc/uuid.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lxc/uuid.c b/src/lxc/uuid.c index df8d816fb..730a9d5cb 100644 --- a/src/lxc/uuid.c +++ b/src/lxc/uuid.c @@ -74,7 +74,10 @@ int lxc_id128_randomize(lxc_id128_t *ret) static char hexchar(int x) { - static const char table[16] = "0123456789abcdef"; + static const char table[] = { + '0', '1', '2', '3', '4', '5', '6', '7', + '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' + }; return table[x & 15]; } -- 2.47.3