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 }