Skip to content

Commit e31c61c

Browse files
committed
fixup
1 parent 31383a9 commit e31c61c

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
@@ -263,11 +263,17 @@ struct UInt(size_t size)
263263
return this.data == rhs.toSize!size.data;
264264
}
265265

266+
static if (size >= 64)
266267
/// ditto
267268
auto opEquals(ulong rhs) const
268269
{
269270
return opEquals(UInt!size(rhs));
270271
}
272+
else
273+
auto opEquals(uint rhs) const
274+
{
275+
return opEquals(UInt!size(rhs));
276+
}
271277

272278
/++
273279
+/

0 commit comments

Comments
 (0)