Merge branch 'ob-10.0' into 10.0

This commit is contained in:
Olivier Bertrand 2015-07-28 19:39:02 +02:00
commit 701af14b7d

View file

@ -261,7 +261,7 @@ static PJVAL MakeValue(PGLOBAL g, UDF_ARGS *args, int i)
break;
case INT_RESULT:
jvp->SetInteger(g, *(int*)sap);
jvp->SetInteger(g, (int)*(long long*)sap);
break;
case REAL_RESULT:
jvp->SetFloat(g, *(double*)sap);