summaryrefslogtreecommitdiff
path: root/src/backend/storage/aio/aio.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2025-11-04 18:36:18 -0500
committerAndres Freund <andres@anarazel.de>2025-11-04 20:03:53 -0500
commit2d83d729d5a1a6cc5c62bf3a932fdb508ce3d1ac (patch)
treee5172fba963c3505a5f075cff3077c048c885ce4 /src/backend/storage/aio/aio.c
parentd115de9d89164e87269d73d4f0f1368f06ebdd5e (diff)
jit: Fix accidentally-harmless type confusion
In 2a0faed9d702, which added JIT compilation support for expressions, I accidentally used sizeof(LLVMBasicBlockRef *) instead of sizeof(LLVMBasicBlockRef) as part of computing the size of an allocation. That turns out to have no real negative consequences due to LLVMBasicBlockRef being a pointer itself (and thus having the same size). It still is wrong and confusing, so fix it. Reported by coverity. Backpatch-through: 13
Diffstat (limited to 'src/backend/storage/aio/aio.c')
0 files changed, 0 insertions, 0 deletions