aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp b/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
index cd67a030b7..f5e319fb82 100644
--- a/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
+++ b/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
@@ -99,7 +99,7 @@ static std::pair<const Stmt*,
}
if (Node->pred_empty())
- return std::pair<const Stmt*, const CFGBlock*>(0, 0);
+ return std::pair<const Stmt*, const CFGBlock*>((Stmt*)0, (CFGBlock*)0);
Node = *Node->pred_begin();
}
@@ -116,7 +116,7 @@ static std::pair<const Stmt*,
break;
}
if (Node->pred_empty())
- return std::pair<const Stmt*, const CFGBlock*>(S, 0);
+ return std::pair<const Stmt*, const CFGBlock*>(S, (CFGBlock*)0);
Node = *Node->pred_begin();
}