diff options
| author | Alan Conway <aconway@apache.org> | 2007-03-15 19:22:02 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-03-15 19:22:02 +0000 |
| commit | 6bc8ab8e4b209b841969544fc735361335040906 (patch) | |
| tree | 90b8a4b3f0ec4fdf2c3a0ac02b27768b953a3be1 /cpp/tests/HeaderTest.cpp | |
| parent | f92c42ffe7662d1d0e2863c6e143567b25ae2024 (diff) | |
| download | qpid-python-6bc8ab8e4b209b841969544fc735361335040906.tar.gz | |
Changed u_int<n>_t to uint<n>_t for posix compliance.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests/HeaderTest.cpp')
| -rw-r--r-- | cpp/tests/HeaderTest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/tests/HeaderTest.cpp b/cpp/tests/HeaderTest.cpp index 01927c7190..f77aaaedb4 100644 --- a/cpp/tests/HeaderTest.cpp +++ b/cpp/tests/HeaderTest.cpp @@ -53,13 +53,13 @@ public: void testAllSpecificProperties(){ string contentType("text/html"); string contentEncoding("UTF8"); - u_int8_t deliveryMode(2); - u_int8_t priority(3); + uint8_t deliveryMode(2); + uint8_t priority(3); string correlationId("abc"); string replyTo("no-address"); string expiration("why is this a string?"); string messageId("xyz"); - u_int64_t timestamp(0xabcd); + uint64_t timestamp(0xabcd); string type("eh?"); string userId("guest"); string appId("just testing"); @@ -106,10 +106,10 @@ public: void testSomeSpecificProperties(){ string contentType("application/octet-stream"); - u_int8_t deliveryMode(5); - u_int8_t priority(6); + uint8_t deliveryMode(5); + uint8_t priority(6); string expiration("Z"); - u_int64_t timestamp(0xabe4a34a); + uint64_t timestamp(0xabe4a34a); AMQHeaderBody body(BASIC); BasicHeaderProperties* properties = |
