Commit 988d6377 authored by Niels Möller's avatar Niels Möller
Browse files

* src/werror.c (werror_decimal): Bug fix.

Rev: src/werror.c:1.28
parent 5252f98c
...@@ -152,8 +152,10 @@ static void werror_decimal(UINT32 n) ...@@ -152,8 +152,10 @@ static void werror_decimal(UINT32 n)
unsigned i; unsigned i;
for (i = 0; i<length; i++) for (i = 0; i<length; i++)
buffer[length - i - 1] = '0' + n % 10; {
buffer[length - i - 1] = '0' + n % 10;
n /= 10;
}
werror_write(length, buffer); werror_write(length, buffer);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment