typesafe_cb: fix promotable types being incorrectly accepted by cast_if_type.
[ccan] / ccan / typesafe_cb / test /
drwxr-xr-x   ..
-rw-r--r-- 445 compile_fail-cast_if_any.c
-rw-r--r-- 472 compile_fail-cast_if_type-promotable.c
-rw-r--r-- 509 compile_fail-cast_if_type.c
-rw-r--r-- 589 compile_fail-typesafe_cb-int.c
-rw-r--r-- 681 compile_fail-typesafe_cb.c
-rw-r--r-- 586 compile_fail-typesafe_cb_postargs.c
-rw-r--r-- 586 compile_fail-typesafe_cb_preargs.c
-rw-r--r-- 651 compile_ok-cast_if_any.c
-rw-r--r-- 1061 compile_ok-typesafe_cb-const.c
-rw-r--r-- 1122 compile_ok-typesafe_cb-undefined.c
-rw-r--r-- 1277 compile_ok-typesafe_cb-vars.c
-rw-r--r-- 1122 compile_ok-typesafe_cb-volatile.c
-rw-r--r-- 3523 run.c