mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-18 01:39:03 +02:00
Fixed 64bit problem in mtype.c with _adReverse runtime call, fixes #161 .
This commit is contained in:
@@ -1662,7 +1662,7 @@ Expression *TypeArray::dotExp(Scope *sc, Expression *e, Identifier *ident)
|
|||||||
arguments->push(e);
|
arguments->push(e);
|
||||||
|
|
||||||
if (!dup)
|
if (!dup)
|
||||||
arguments->push(new IntegerExp(0, size, Type::tint32));
|
arguments->push(new IntegerExp(0, size, Type::tsize_t));
|
||||||
e = new CallExp(e->loc, ec, arguments);
|
e = new CallExp(e->loc, ec, arguments);
|
||||||
e->type = next->arrayOf();
|
e->type = next->arrayOf();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user