summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qpid/cpp/src/qpid/legacystore/jrnl/rmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/legacystore/jrnl/rmgr.cpp b/qpid/cpp/src/qpid/legacystore/jrnl/rmgr.cpp
index 3a11817d1e..204affd1d1 100644
--- a/qpid/cpp/src/qpid/legacystore/jrnl/rmgr.cpp
+++ b/qpid/cpp/src/qpid/legacystore/jrnl/rmgr.cpp
@@ -72,7 +72,7 @@ rmgr::initialize(aio_callback* const cbp)
throw jexception(jerrno::JERR__MALLOC, oss.str(), "rmgr", "initialize");
}
_fhdr_aio_cb_ptr = new aio_cb;
- std::memset(_fhdr_aio_cb_ptr, 0, sizeof(aio_cb*));
+ std::memset(_fhdr_aio_cb_ptr, 0, sizeof(aio_cb));
}
void