diff options
| author | Stephen D. Huston <shuston@apache.org> | 2009-05-11 22:26:49 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2009-05-11 22:26:49 +0000 |
| commit | 6ac75b539d14c1344cf00a696daec110d9710d00 (patch) | |
| tree | c0e9cfe56d1ee7ffa03522cae4af7a295eb3ece5 /cpp/src/qpid/framing | |
| parent | 2be73b1fa71d50ef20d444d0f2bdce9fd90ccc24 (diff) | |
| download | qpid-python-6ac75b539d14c1344cf00a696daec110d9710d00.tar.gz | |
Add --quit, --check for Windows; required fixing LockFile for Windows
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773712 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing')
| -rw-r--r-- | cpp/src/qpid/framing/Uuid.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/Uuid.h b/cpp/src/qpid/framing/Uuid.h index fe0c32dc0b..b595a2ff42 100644 --- a/cpp/src/qpid/framing/Uuid.h +++ b/cpp/src/qpid/framing/Uuid.h @@ -58,8 +58,9 @@ struct Uuid : public boost::array<uint8_t, 16> { void clear() { uuid_clear(c_array()); } /** Test for null (all zeros). */ + // Force int 0/!0 to false/true; avoids compile warnings. bool isNull() { - return uuid_is_null(data()); + return !!uuid_is_null(data()); } // Default op= and copy ctor are fine. |
