Commit 56023cca authored by Rusty Russell's avatar Rusty Russell

check_type: fix incorrect documentation.

parent 578da7e7
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* argument is of the expected type. No type promotion of the expression is * argument is of the expected type. No type promotion of the expression is
* done: an unsigned int is not the same as an int! * done: an unsigned int is not the same as an int!
* *
* check_type() always evaluates to 1. * check_type() always evaluates to 0.
* *
* If your compiler does not support typeof, then the best we can do is fail * If your compiler does not support typeof, then the best we can do is fail
* to compile if the sizes of the types are unequal (a less complete check). * to compile if the sizes of the types are unequal (a less complete check).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment