]> git.ozlabs.org Git - ccan/commitdiff
opt: fix tests for 64-bit systems.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 6 Feb 2014 03:55:07 +0000 (14:25 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 6 Feb 2014 03:55:07 +0000 (14:25 +1030)
Actually, only an issue for 64 bit big endian systems, but still...

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/opt/test/run-consume_words.c

index ae4d5d3eae220049b5b1d548419b6af79947530c..98b2e1e67a019b32e3c8a9d2f68cea5d5d241bef 100644 (file)
@@ -7,7 +7,7 @@
 /* Test consume_words helper. */
 int main(int argc, char *argv[])
 {
 /* Test consume_words helper. */
 int main(int argc, char *argv[])
 {
-       unsigned int start, len;
+       size_t start, len;
 
        plan_tests(13);
 
 
        plan_tests(13);