diff --git a/include/loki/SafeFormat.h b/include/loki/SafeFormat.h index d49c0c5..10dc8fb 100644 --- a/include/loki/SafeFormat.h +++ b/include/loki/SafeFormat.h @@ -398,7 +398,7 @@ namespace Loki for (;;) { const LOKI_SAFEFORMAT_UNSIGNED_LONG next = n / base; Char c = static_cast(n - next * base); - c += (c <= static_cast(9)) ? '0' : static_cast(hex1st - 10); + c += (c <= static_cast(9) ? '0' : static_cast(hex1st - 10)); *bufLast = c; n = next; if (n == 0) break;