Skip to content

Commit 40fd333

Browse files
committed
fixup
1 parent 78c4ce5 commit 40fd333

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/mir/bignum/decimal.d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ struct Decimal(size_t maxSize64)
291291
assert(b.length);
292292

293293
if (addSign)
294-
w.put(sign);
294+
w.put(sign[]);
295295

296296
auto r = b.length % spec.separatorCount;
297297
if (r == 0)
@@ -300,7 +300,7 @@ struct Decimal(size_t maxSize64)
300300
goto LS;
301301
do
302302
{
303-
w.put(sep);
303+
w.put(sep[]);
304304
LS:
305305
w.put(b[0 .. r]);
306306
b = b[r .. $];
@@ -321,7 +321,7 @@ struct Decimal(size_t maxSize64)
321321
if (this.exponent >= -6 || s >= -2 - (spec.separatorChar != 0) * 3)
322322
{
323323
if (addSign)
324-
w.put(sign);
324+
w.put(sign[]);
325325
w.put(zeros[0 .. -s + 2]);
326326
w.put(buffer[$ - coefficientLength .. $]);
327327
return;

0 commit comments

Comments
 (0)