diff options
Diffstat (limited to 'src/rebuild.cc')
-rw-r--r-- | src/rebuild.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebuild.cc b/src/rebuild.cc index 4ca1809..52245fe 100644 --- a/src/rebuild.cc +++ b/src/rebuild.cc @@ -71,7 +71,7 @@ int reg(const char* location) int unreg(const char* location) { - std::size_t found{0}; + int found{0}; for(std::size_t i = 0; i < numConfigFiles;) { if(std::string(location) == configFiles[i].file) @@ -106,7 +106,7 @@ int unreg(const char* location) } } - return static_cast<int>(found); + return found; } std::array<ExternalConfigurationEntry, 1024> externalConfigFiles; |