]> git.ozlabs.org Git - ccan/commitdiff
failtest: fix void * arithmetic in example.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Mar 2011 04:00:56 +0000 (14:30 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Mar 2011 04:00:56 +0000 (14:30 +1030)
ccan/failtest/_info

index 830fce49072c449fc29a177b6be85903e03efe3f..3478a02b66c5bd88f6bcc185792d739afba5f19c 100644 (file)
@@ -27,7 +27,7 @@
  *
  *     int main(int argc, char *argv[])
  *     {
  *
  *     int main(int argc, char *argv[])
  *     {
- *             void *a, *b;
+ *             char *a, *b;
  *
  *             failtest_init(argc, argv);
  *             plan_tests(3);
  *
  *             failtest_init(argc, argv);
  *             plan_tests(3);