summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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;