Skip to content
Snippets Groups Projects
Commit 80ab0207 authored by Axel Naumann's avatar Axel Naumann
Browse files

fNN return long,, so call ExecInt() and compare with expected result cast to long.

Fixes roottest.


git-svn-id: http://root.cern.ch/svn/root/trunk@37873 27541ba8-7e3a-0410-8455-c3a389f83636
parent 5e8f3f65
No related branches found
No related tags found
No related merge requests found
......@@ -289,8 +289,8 @@ bool InterpreterStress::stressReflection() {
continue;
}
double ret = gInterpreter->CallFunc_ExecDouble(mk, obj);
if (ret != funcnum + (-funcnum * 2 + 0.2)) {
long ret = gInterpreter->CallFunc_ExecInt(mk, obj);
if (ret != (long) (funcnum + (-funcnum * 2 + 0.2))) {
success = false;
gInterpreter->CallFunc_Delete(mk);
gInterpreter->ClassInfo_Delete(k);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment