aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/test_shm_mq/worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/modules/test_shm_mq/worker.c')
-rw-r--r--src/test/modules/test_shm_mq/worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/modules/test_shm_mq/worker.c b/src/test/modules/test_shm_mq/worker.c
index 96cd304dbbc..c1d321b69a4 100644
--- a/src/test/modules/test_shm_mq/worker.c
+++ b/src/test/modules/test_shm_mq/worker.c
@@ -77,7 +77,7 @@ test_shm_mq_main(Datum main_arg)
* exit, which is fine. If there were a ResourceOwner, it would acquire
* ownership of the mapping, but we have no need for that.
*/
- seg = dsm_attach(DatumGetInt32(main_arg));
+ seg = dsm_attach(DatumGetUInt32(main_arg));
if (seg == NULL)
ereport(ERROR,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),