mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
more adaption for x64
This commit is contained in:
parent
3e334ca731
commit
9235ac60c1
16 changed files with 214 additions and 234 deletions
|
@ -217,9 +217,9 @@ BOOL CIniFile::SaveFile(const std::string& Filename) const
|
|||
}
|
||||
|
||||
|
||||
int CIniFileSection::FindValue(CString val) const noexcept
|
||||
int64_t CIniFileSection::FindValue(CString val) const noexcept
|
||||
{
|
||||
for (auto idx = 0;
|
||||
for (size_t idx = 0;
|
||||
idx < this->value_pairs.size();
|
||||
++idx) {
|
||||
if (this->value_pairs[idx].second == val) {
|
||||
|
@ -229,7 +229,7 @@ int CIniFileSection::FindValue(CString val) const noexcept
|
|||
return -1;
|
||||
}
|
||||
|
||||
int CIniFileSection::FindIndex(const CString& key) const noexcept
|
||||
int64_t CIniFileSection::FindIndex(const CString& key) const noexcept
|
||||
{
|
||||
auto const it = this->value_pos.find(key);
|
||||
if (it != this->value_pos.end()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue