diff options
| author | Ted Ross <tross@apache.org> | 2013-10-15 17:33:44 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2013-10-15 17:33:44 +0000 |
| commit | 06eadbac0a814f1701fa8ccfc982c8e5f9b4eba7 (patch) | |
| tree | 93ada103c0c779bf41e03fda9444a3b34a4321e7 /qpid/extras/dispatch/src | |
| parent | 9e91f91c1c2736094b272b9340078db707847d80 (diff) | |
| download | qpid-python-06eadbac0a814f1701fa8ccfc982c8e5f9b4eba7.tar.gz | |
QPID-5216 - Fixed a bug in the composition of nested composite fields.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532451 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/extras/dispatch/src')
| -rw-r--r-- | qpid/extras/dispatch/src/compose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/extras/dispatch/src/compose.c b/qpid/extras/dispatch/src/compose.c index 2953892464..66b2336e06 100644 --- a/qpid/extras/dispatch/src/compose.c +++ b/qpid/extras/dispatch/src/compose.c @@ -115,8 +115,8 @@ static void dx_overwrite_32(dx_field_location_t *field, uint32_t value) size_t cursor = field->offset; dx_overwrite(&buf, &cursor, (uint8_t) ((value & 0xFF000000) >> 24)); - dx_overwrite(&buf, &cursor, (uint8_t) ((value & 0x00FF0000) >> 24)); - dx_overwrite(&buf, &cursor, (uint8_t) ((value & 0x0000FF00) >> 24)); + dx_overwrite(&buf, &cursor, (uint8_t) ((value & 0x00FF0000) >> 16)); + dx_overwrite(&buf, &cursor, (uint8_t) ((value & 0x0000FF00) >> 8)); dx_overwrite(&buf, &cursor, (uint8_t) (value & 0x000000FF)); } |
