mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Fixed compilation warning on Linux by fixing the type of a return value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137913 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f56ea610ed
commit
3f0e237760
@ -193,7 +193,7 @@ bool LTOCodeGenerator::compile_to_file(const char** name, std::string& errMsg)
|
|||||||
bool genResult = false;
|
bool genResult = false;
|
||||||
tool_output_file objFile(uniqueObjPath.c_str(), errMsg);
|
tool_output_file objFile(uniqueObjPath.c_str(), errMsg);
|
||||||
if (!errMsg.empty())
|
if (!errMsg.empty())
|
||||||
return NULL;
|
return true;
|
||||||
genResult = this->generateObjectFile(objFile.os(), errMsg);
|
genResult = this->generateObjectFile(objFile.os(), errMsg);
|
||||||
objFile.os().close();
|
objFile.os().close();
|
||||||
if (objFile.os().has_error()) {
|
if (objFile.os().has_error()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user