X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_ok-typesafe_cb-NULL.c;h=9346170dfdafbbb72dce23a868ff216ca951033d;hb=4a084a9e956e6e5fec9f9ecb02ca56a79de4a422;hp=e3dceb245eefb56541d5b03db8f7c816d2b087d0;hpb=061e63028390bc27db749c75a3689c2888f00f57;p=ccan diff --git a/ccan/typesafe_cb/test/compile_ok-typesafe_cb-NULL.c b/ccan/typesafe_cb/test/compile_ok-typesafe_cb-NULL.c index e3dceb24..9346170d 100644 --- a/ccan/typesafe_cb/test/compile_ok-typesafe_cb-NULL.c +++ b/ccan/typesafe_cb/test/compile_ok-typesafe_cb-NULL.c @@ -3,7 +3,7 @@ /* NULL args for callback function should be OK for _exact and _def. */ -static void _register_callback(void (*cb)(void *arg), void *arg) +static void _register_callback(void (*cb)(const void *arg), const void *arg) { }