Commit 701af14b authored by Olivier Bertrand's avatar Olivier Bertrand

Merge branch 'ob-10.0' into 10.0

parents b520febb 4efcc35a
...@@ -261,7 +261,7 @@ static PJVAL MakeValue(PGLOBAL g, UDF_ARGS *args, int i) ...@@ -261,7 +261,7 @@ static PJVAL MakeValue(PGLOBAL g, UDF_ARGS *args, int i)
break; break;
case INT_RESULT: case INT_RESULT:
jvp->SetInteger(g, *(int*)sap); jvp->SetInteger(g, (int)*(long long*)sap);
break; break;
case REAL_RESULT: case REAL_RESULT:
jvp->SetFloat(g, *(double*)sap); jvp->SetFloat(g, *(double*)sap);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment