mirror of
https://github.com/dlang/phobos.git
synced 2025-05-04 17:11:26 +03:00
output() should take unsigned parameter.
This commit is contained in:
parent
6282dda407
commit
b12b767b7c
1 changed files with 1 additions and 1 deletions
|
@ -1581,7 +1581,7 @@ size_t biguintToOctal(char[] buff, const(BigDigit)[] data)
|
||||||
size_t penPos = buff.length - 1;
|
size_t penPos = buff.length - 1;
|
||||||
size_t lastNonZero = buff.length - 1;
|
size_t lastNonZero = buff.length - 1;
|
||||||
|
|
||||||
pragma(inline) void output(int digit) @nogc nothrow
|
pragma(inline) void output(uint digit) @nogc nothrow
|
||||||
{
|
{
|
||||||
if (digit != 0)
|
if (digit != 0)
|
||||||
lastNonZero = penPos;
|
lastNonZero = penPos;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue