Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit082d9d6

Browse files
committed
jit: Fix warning reported by gcc-11 caused by dubious function signature.
Reported-By: Erik Rijkers <er@xs4all.nl>Discussion:https://postgr.es/m/833107370.1313189.1619647621213@webmailclassic.xs4all.nlBackpatch: 13, whereb059d2f introduced the issue.
1 parent923c135 commit082d9d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/jit/llvm/llvmjit_expr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static LLVMValueRef build_EvalXFuncInt(LLVMBuilderRef b, LLVMModuleRef mod,
6161
constchar*funcname,
6262
LLVMValueRefv_state,
6363
ExprEvalStep*op,
64-
intnatts,LLVMValueRefv_args[]);
64+
intnatts,LLVMValueRef*v_args);
6565
staticLLVMValueRefcreate_LifetimeEnd(LLVMModuleRefmod);
6666

6767
/* macro making it easier to call ExecEval* functions */
@@ -2471,7 +2471,7 @@ BuildV1Call(LLVMJitContext *context, LLVMBuilderRef b,
24712471
staticLLVMValueRef
24722472
build_EvalXFuncInt(LLVMBuilderRefb,LLVMModuleRefmod,constchar*funcname,
24732473
LLVMValueRefv_state,ExprEvalStep*op,
2474-
intnargs,LLVMValueRefv_args[])
2474+
intnargs,LLVMValueRef*v_args)
24752475
{
24762476
LLVMValueRefv_fn=llvm_pg_func(mod,funcname);
24772477
LLVMValueRef*params;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp