aio: fix flush_range.offset/nbytes type confusion.
authorAndres Freund <andres@anarazel.de>
Tue, 12 Jan 2021 04:25:02 +0000 (20:25 -0800)
committerAndres Freund <andres@anarazel.de>
Wed, 13 Jan 2021 01:16:25 +0000 (17:16 -0800)
src/backend/storage/ipc/aio.c

index 1bd015b238252636aba60b3db121266858d8b87f..b63184dd5e32464bfce4e55197290e69a4c5bcbc 100644 (file)
@@ -214,8 +214,8 @@ struct PgAioInProgress
        struct
        {
            int fd;
-           uint64 nbytes;
-           uint32 offset;
+           uint32 nbytes;
+           uint64 offset;
        } flush_range;
 
        struct