aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_buffers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-05-08 13:08:13 -0400
committerNick Mathewson <nickm@torproject.org>2014-05-08 13:08:13 -0400
commit5bb617236704be189e68c713d95dac002912a219 (patch)
tree6c5d43112ff79f140036182fede4ee3070ab13b3 /src/test/test_buffers.c
parent1f11be21700af2c9050ea79f2c8942786eda79ba (diff)
downloadtor-5bb617236704be189e68c713d95dac002912a219.tar
tor-5bb617236704be189e68c713d95dac002912a219.tar.gz
Fix numerous type errors in the unit tests
Remove tinytest casts that were suppressing them. Fix for #11825.
Diffstat (limited to 'src/test/test_buffers.c')
-rw-r--r--src/test/test_buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_buffers.c b/src/test/test_buffers.c
index cb78a4bb5..78b3aead6 100644
--- a/src/test/test_buffers.c
+++ b/src/test/test_buffers.c
@@ -222,7 +222,7 @@ test_buffer_pullup(void *arg)
buf_pullup(buf, 16, 1);
buf_get_first_chunk_data(buf, &cp, &sz);
tt_ptr_op(cp, ==, NULL);
- tt_ptr_op(sz, ==, 0);
+ tt_uint_op(sz, ==, 0);
/* Let's make sure nothing got allocated */
tt_int_op(buf_get_total_allocation(), ==, 0);