summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2016-03-13 21:06:38 -0700
committerAlan Antonuk <alan.antonuk@gmail.com>2016-04-09 20:23:07 -0700
commit2fdd6f640167556d5bb8d3f8650b56b793a2a6f4 (patch)
tree41148e35071e945100188a652fd4b1810bcce568 /tests
parent89c5a5951abdec97b593c09a986b2e2165f84f33 (diff)
downloadrabbitmq-c-2fdd6f640167556d5bb8d3f8650b56b793a2a6f4.tar.gz
Test: use correct printf for unsigned.
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 4c9fc75..0c6b358 100644
--- a/tests/test_tables.c
+++ b/tests/test_tables.c
@@ -119,7 +119,7 @@ static void dump_value(int indent, amqp_field_value_t v, FILE *out)
break;
case AMQP_FIELD_KIND_DECIMAL:
- fprintf(out, " %d:::%u\n", v.value.decimal.decimals,
+ fprintf(out, " %u:::%u\n", v.value.decimal.decimals,
v.value.decimal.value);
break;