mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 16:43:13 +01:00
Cleanup: Avoid signed/unsigned comparisons.
The ones ones left are for DMD-defined constants.
This commit is contained in:
@@ -1138,7 +1138,7 @@ int main(int argc, char** argv)
|
||||
llvm::Linker linker("ldc", moduleName, context);
|
||||
|
||||
std::string errormsg;
|
||||
for (int i = 0; i < llvmModules.size(); i++)
|
||||
for (size_t i = 0; i < llvmModules.size(); i++)
|
||||
{
|
||||
if(linker.LinkInModule(llvmModules[i], &errormsg))
|
||||
error("%s", errormsg.c_str());
|
||||
|
||||
Reference in New Issue
Block a user