diff options
| author | Gordon Sim <gsim@apache.org> | 2013-02-06 10:47:16 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2013-02-06 10:47:16 +0000 |
| commit | 22723f98a7d6e4c18b30537436c1c648dbcbe097 (patch) | |
| tree | 12e08f3c36dd292d467d84d6ed532efa11db8570 /cpp | |
| parent | dba0d189ba17176f92fb3ad3bf34990157baf328 (diff) | |
| download | qpid-python-22723f98a7d6e4c18b30537436c1c648dbcbe097.tar.gz | |
QPID-4556: pass max depth options correctly. Patch from Brad Hoekstra.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1442898 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/client/QueueOptions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/QueueOptions.cpp b/cpp/src/qpid/client/QueueOptions.cpp index f4c1483859..460f3f5490 100644 --- a/cpp/src/qpid/client/QueueOptions.cpp +++ b/cpp/src/qpid/client/QueueOptions.cpp @@ -49,8 +49,8 @@ QueueOptions::~QueueOptions() void QueueOptions::setSizePolicy(QueueSizePolicy sp, uint64_t maxSize, uint32_t maxCount) { - if (maxCount) setInt(strMaxCountKey, maxCount); - if (maxSize) setInt(strMaxSizeKey, maxSize); + if (maxCount) setUInt64(strMaxCountKey, maxCount); + if (maxSize) setUInt64(strMaxSizeKey, maxSize); if (maxSize || maxCount){ switch (sp) { |
