mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 09:33:27 +01:00
Fix up botched merge in 005f993.
This commit is contained in:
@@ -1391,7 +1391,7 @@ LLConstant* DtoConstExpInit(Loc loc, Type* targetType, Expression* exp)
|
||||
{
|
||||
Logger::println("Building vector initializer from scalar.");
|
||||
|
||||
TypeVector* tv = (TypeVector*)base;
|
||||
TypeVector* tv = static_cast<TypeVector*>(targetBase);
|
||||
assert(tv->basetype->ty == Tsarray);
|
||||
dinteger_t elemCount =
|
||||
static_cast<TypeSArray *>(tv->basetype)->dim->toInteger();
|
||||
|
||||
Reference in New Issue
Block a user