projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed46758
)
test_shm_mq: Try again to fix compiler warning.
author
Robert Haas
<
[email protected]
>
Wed, 15 Jan 2014 17:44:22 +0000
(12:44 -0500)
committer
Robert Haas
<
[email protected]
>
Wed, 15 Jan 2014 17:44:22 +0000
(12:44 -0500)
Per complaints from Andres Freund and Tom Lane.
contrib/test_shm_mq/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/test_shm_mq/setup.c
b/contrib/test_shm_mq/setup.c
index e50f1f00139df95495d380d5ae1227763a003f50..3e762c49a6cdc61f154a3d0ec3128fc7be364750 100644
(file)
--- a/
contrib/test_shm_mq/setup.c
+++ b/
contrib/test_shm_mq/setup.c
@@
-102,7
+102,7
@@
setup_dynamic_shared_memory(int64 queue_size, int nworkers,
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("queue size must be at least %lu bytes",
- shm_mq_minimum_size)));
+
(unsigned long)
shm_mq_minimum_size)));
/*
* Estimate how much shared memory we need.