diff options
author | Gordon Sim <gsim@apache.org> | 2008-07-25 09:04:26 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-07-25 09:04:26 +0000 |
commit | 0ba523ca249b8f7f46d3c113b991cf880ce9eb9a (patch) | |
tree | 318838299661925c494917c681f45d3ee9c3a075 /qpid/cpp/src/tests/InlineVector.cpp | |
parent | fb5a7fa66070bebff87bfdfb5ad713ee4a6317d2 (diff) | |
download | qpid-python-0ba523ca249b8f7f46d3c113b991cf880ce9eb9a.tar.gz |
QPID-1154, QPID-1155 & QPID-1156: Patches from Steve Huston to fix various minor compiler errors.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679717 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/InlineVector.cpp')
-rw-r--r-- | qpid/cpp/src/tests/InlineVector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/InlineVector.cpp b/qpid/cpp/src/tests/InlineVector.cpp index 7add920cb2..bcd36e47b4 100644 --- a/qpid/cpp/src/tests/InlineVector.cpp +++ b/qpid/cpp/src/tests/InlineVector.cpp @@ -30,8 +30,8 @@ using namespace std; typedef InlineVector<int, 3> Vec; bool isInline(const Vec& v) { - return (char*)&v <= (char*)(&v[0]) && - (char*)(&v[0]) < (char*)&v+sizeof(v); + return (const char*)&v <= (const char*)(&v[0]) && + (const char*)(&v[0]) < (const char*)&v+sizeof(v); } QPID_AUTO_TEST_CASE(testCtor) { |