From b12b767b7cf809c77a82d55a9c08727e4b98d49e Mon Sep 17 00:00:00 2001 From: "H. S. Teoh" Date: Thu, 31 Mar 2016 11:05:59 -0700 Subject: [PATCH] output() should take unsigned parameter. --- std/internal/math/biguintcore.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/internal/math/biguintcore.d b/std/internal/math/biguintcore.d index db5938a8b..317a88467 100644 --- a/std/internal/math/biguintcore.d +++ b/std/internal/math/biguintcore.d @@ -1581,7 +1581,7 @@ size_t biguintToOctal(char[] buff, const(BigDigit)[] data) size_t penPos = 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) lastNonZero = penPos;