From 6926b70fbbc0c565054185bc21a851468a81c1f0 Mon Sep 17 00:00:00 2001 From: cziter15 Date: Wed, 20 Nov 2024 08:20:59 +0000 Subject: [PATCH] deploy: cf966e3576be719fe28739a1156093f1ab3c7f10 --- ks_constants_8h_source.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ks_constants_8h_source.html b/ks_constants_8h_source.html index 56a4f8b..b285606 100644 --- a/ks_constants_8h_source.html +++ b/ks_constants_8h_source.html @@ -175,12 +175,12 @@
155 if (value == 0)
156 return {"0"};
157
-
158 unsigned int uvalue{static_cast<unsigned int>(value)};
-
159 char buffer[8];
-
160 int pos{8};
+
158 char buffer[8];
+
159 unsigned int uvalue{static_cast<unsigned int>(value)}, pos{8};
+
160
161 while (uvalue != 0)
162 {
-
163 int nibble{uvalue & 0xf};
+
163 unsigned int nibble{uvalue & 0xf};
164 buffer[--pos] = (nibble < 10) ? ('0' + nibble) : ('a' + (nibble - 10));
165 uvalue >>= 4;
166 }