Skip to content

Commit e6488c6

Browse files
committed
fixup
1 parent 0894a43 commit e6488c6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

source/mir/bignum/fixed.d

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,17 @@ struct UInt(size_t size)
283283
return 0;
284284
}
285285

286+
static if (size >= 64)
286287
/// ditto
287288
auto opCmp(ulong rhs) const scope
288289
{
289290
return opCmp(UInt!size(rhs));
290291
}
292+
else
293+
auto opCmp(uint rhs) const scope
294+
{
295+
return opCmp(UInt!size(rhs));
296+
}
291297

292298
/++
293299
+/

0 commit comments

Comments
 (0)