Skip to content

Commit b1365ff

Browse files
committed
test_shm_mq: Try again to fix compiler warning.
Per complaints from Andres Freund and Tom Lane.
1 parent ed46758 commit b1365ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/test_shm_mq/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ setup_dynamic_shared_memory(int64 queue_size, int nworkers,
102102
ereport(ERROR,
103103
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
104104
errmsg("queue size must be at least %lu bytes",
105-
shm_mq_minimum_size)));
105+
(unsigned long) shm_mq_minimum_size)));
106106

107107
/*
108108
* Estimate how much shared memory we need.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy