]> git.ozlabs.org Git - ccan/commit
typesafe: fix warnings with gcc's -Wcast-qual
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 21 Mar 2011 10:32:24 +0000 (21:02 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 21 Mar 2011 10:32:24 +0000 (21:02 +1030)
commit148c09482cd343f1c02526908a2612d327412697
treef7323f4697abfe22a600bdae0a0af84738bc25da
parent3d27344a5dc4b56197533876a8f5f4a78406c829
typesafe: fix warnings with gcc's -Wcast-qual

Don't implicitly cast away const in the tests.
ccan/typesafe_cb/test/compile_fail-typesafe_cb.c
ccan/typesafe_cb/test/compile_ok-typesafe_cb-NULL.c
ccan/typesafe_cb/test/compile_ok-typesafe_cb-const.c
ccan/typesafe_cb/test/compile_ok-typesafe_cb-volatile.c
ccan/typesafe_cb/test/compile_ok-typesafe_cb_def-const.c
ccan/typesafe_cb/test/run.c