summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2014-02-06 14:25:07 +1030
committerRusty Russell <rusty@rustcorp.com.au>2014-02-06 14:25:07 +1030
commitbf06b6e9a5385a0315d04308d8dc304ff54b29b0 (patch)
treee2a7d3b1c3c54ce39ea138d095f0210a1aacc132
parente4fbff960f8d384ee793259ff6e13bb798114c98 (diff)
opt: fix tests for 64-bit systems.
Actually, only an issue for 64 bit big endian systems, but still... Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--ccan/opt/test/run-consume_words.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ccan/opt/test/run-consume_words.c b/ccan/opt/test/run-consume_words.c
index ae4d5d3e..98b2e1e6 100644
--- a/ccan/opt/test/run-consume_words.c
+++ b/ccan/opt/test/run-consume_words.c
@@ -7,7 +7,7 @@
/* Test consume_words helper. */
int main(int argc, char *argv[])
{
- unsigned int start, len;
+ size_t start, len;
plan_tests(13);