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

Commit7f2e10b

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 parente8ce68b commit7f2e10b

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 */
@@ -2459,7 +2459,7 @@ BuildV1Call(LLVMJitContext *context, LLVMBuilderRef b,
24592459
staticLLVMValueRef
24602460
build_EvalXFuncInt(LLVMBuilderRefb,LLVMModuleRefmod,constchar*funcname,
24612461
LLVMValueRefv_state,ExprEvalStep*op,
2462-
intnargs,LLVMValueRefv_args[])
2462+
intnargs,LLVMValueRef*v_args)
24632463
{
24642464
LLVMValueRefv_fn=llvm_pg_func(mod,funcname);
24652465
LLVMValueRef*params;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp