This is an automated email from the ASF dual-hosted git repository. domino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/madlib.git
commit 947941604a011a2a69e65592a4bb08ae5bea7db5 Author: Domino Valdano <[email protected]> AuthorDate: Wed May 27 19:26:12 2020 -0700 Fix FunctionHandle warning for pg12 --- src/ports/postgres/dbconnector/FunctionHandle_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ports/postgres/dbconnector/FunctionHandle_impl.hpp b/src/ports/postgres/dbconnector/FunctionHandle_impl.hpp index 5587b25..c5e0863 100644 --- a/src/ports/postgres/dbconnector/FunctionHandle_impl.hpp +++ b/src/ports/postgres/dbconnector/FunctionHandle_impl.hpp @@ -159,7 +159,7 @@ FunctionHandle::invoke(AnyType &args) { funcPtrCallInfo.args[i].value = args[i].getAsDatum(&funcPtrCallInfo, mFuncInfo->getArgumentType(i)); funcPtrCallInfo.args[i].isnull = args[i].isNull(); - elog(WARNING, "funcPtrCallInfo.args[i].value %d funcPtrCallInfo.args[i].isnull %d", funcPtrCallInfo.args[i].value, funcPtrCallInfo.args[i].isnull); + elog(WARNING, "funcPtrCallInfo.args[i].value %lu funcPtrCallInfo.args[i].isnull %d", funcPtrCallInfo.args[i].value, funcPtrCallInfo.args[i].isnull); } #else for (uint16_t i = 0; i < funcPtrCallInfo.nargs; ++i) {
