summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2016-03-13 21:12:28 -0700
committerAlan Antonuk <alan.antonuk@gmail.com>2016-04-09 20:23:07 -0700
commitfac3ed2e1c26757af155fc02aa6ea2a966f3904d (patch)
tree6906adda326d25b2138db34a42bcd92a9bf7fbef /tests
parent2fdd6f640167556d5bb8d3f8650b56b793a2a6f4 (diff)
downloadrabbitmq-c-fac3ed2e1c26757af155fc02aa6ea2a966f3904d.tar.gz
Test: correct overflow in constant.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_tables.c b/tests/test_tables.c
index 0c6b358..a7f5f22 100644
--- a/tests/test_tables.c
+++ b/tests/test_tables.c
@@ -314,7 +314,7 @@ static void test_table_codec(FILE *out)
entries[5].key = amqp_cstring_bytes("byte");
entries[5].value.kind = AMQP_FIELD_KIND_I8;
- entries[5].value.value.i8 = (int8_t)255;
+ entries[5].value.value.i8 = (int8_t)-1;
entries[6].key = amqp_cstring_bytes("long");
entries[6].value.kind = AMQP_FIELD_KIND_I64;