summaryrefslogtreecommitdiffstats
path: root/src/formula.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/formula.cpp')
-rw-r--r--src/formula.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formula.cpp b/src/formula.cpp
index de004ed..3130122 100644
--- a/src/formula.cpp
+++ b/src/formula.cpp
@@ -468,7 +468,7 @@ int FormulaManager::addFormula(const char *formulaText)
return it->second;
}
// store new formula
- int id = p->formulas.size();
+ int id = (int)p->formulas.size();
p->formulaMap.insert(std::pair<std::string,int>(key,id));
p->formulas.push_back(key);
return id;