aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-16 01:09:37 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-16 01:09:37 -0800
commit70d65fed3a230dcf17939786b5ac941423e29216 (patch)
treeab929f1960778dbfbc56a859f7caf3c689adc391 /tests
parent39dbff5615631522d3ef98b83141957038502c0d (diff)
downloadnng-70d65fed3a230dcf17939786b5ac941423e29216.tar.gz
nng-70d65fed3a230dcf17939786b5ac941423e29216.tar.bz2
nng-70d65fed3a230dcf17939786b5ac941423e29216.zip
Fixes for 32-bit Windows compilation.
Diffstat (limited to 'tests')
-rw-r--r--tests/trantest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trantest.h b/tests/trantest.h
index bd458d21..6956c1fe 100644
--- a/tests/trantest.h
+++ b/tests/trantest.h
@@ -45,7 +45,7 @@ void
trantest_scheme(trantest *tt)
{
Convey("Scheme is correct", {
- int l = strlen(tt->tran->tran_scheme);
+ size_t l = strlen(tt->tran->tran_scheme);
So(strncmp(tt->addr, tt->tran->tran_scheme, l) == 0);
So(strncmp(tt->addr + l, "://", 3) == 0);
})