fix GCC warning

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@911 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2008-12-15 20:55:24 +00:00
parent e7d0d872f3
commit 2d68004ddf

View file

@ -398,7 +398,7 @@ namespace Loki
for (;;) {
const LOKI_SAFEFORMAT_UNSIGNED_LONG next = n / base;
Char c = static_cast<Char>(n - next * base);
c += (c <= static_cast<Char>(9) ? '0' : static_cast<Char>(hex1st - 10));
c = static_cast<Char>(c + (c <= 9 ? '0' : static_cast<Char>(hex1st - 10)));
*bufLast = c;
n = next;
if (n == 0) break;