diff --git a/gen/llvmhelpers.cpp b/gen/llvmhelpers.cpp index 6cbf109127..d78c8e26d2 100644 --- a/gen/llvmhelpers.cpp +++ b/gen/llvmhelpers.cpp @@ -1697,7 +1697,7 @@ LLValue* makeLValue(Loc& loc, DValue* value) if (needsMemory) { LLValue* tmp = DtoAlloca(valueType, ".makelvaluetmp"); - DtoStore(valuePointer, tmp); + DtoStoreZextI8(valuePointer, tmp); valuePointer = tmp; }