Skip to content

Commit a8b2a88

Browse files
committed
this worked locally but i guess not on the ci
1 parent dcacec8 commit a8b2a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ldc/gen/objcgen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ llvm::GlobalVariable *getGlobal(
4545
llvm::Type* type = nullptr
4646
) {
4747
if(type == nullptr)
48-
type = llvm::PointerType::get(llvm::Type::getVoidTy(module.getContext()), 0);
48+
type = llvm::PointerType::get(llvm::Type::getInt8Ty(module.getContext()), 0);
4949
auto var = new LLGlobalVariable(
5050
module,
5151
type,

0 commit comments

Comments
 (0)