summaryrefslogtreecommitdiff
path: root/src/backend/storage/aio/aio_funcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/storage/aio/aio_funcs.c')
-rw-r--r--src/backend/storage/aio/aio_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/aio/aio_funcs.c b/src/backend/storage/aio/aio_funcs.c
index 34f8f632733..d7977387b8f 100644
--- a/src/backend/storage/aio/aio_funcs.c
+++ b/src/backend/storage/aio/aio_funcs.c
@@ -175,7 +175,7 @@ retry:
values[4] = CStringGetTextDatum(pgaio_io_get_op_name(&ioh_copy));
/* columns: details about the IO's operation (offset, length) */
- switch (ioh_copy.op)
+ switch ((PgAioOp) ioh_copy.op)
{
case PGAIO_OP_INVALID:
nulls[5] = true;