summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MLKLLVMCompiler.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm
index c62610d..137598e 100644
--- a/MLKLLVMCompiler.mm
+++ b/MLKLLVMCompiler.mm
@@ -474,7 +474,7 @@ static Constant
builder.CreateUnreachable ();
- return NULL;
+ return ConstantPointerNull::get (VoidPointerTy);;
}
@end