Browse Source

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>
Rusty Russell 12 years ago
parent
commit
bf06b6e9a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/opt/test/run-consume_words.c

+ 1 - 1
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);