talloc: remove const warning in _info example.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Oct 2012 11:29:50 +0000 (21:59 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Oct 2012 11:29:50 +0000 (21:59 +1030)
commit07a9a950734c34be120491861647ace5a37d4c89
treec1cefe84618173087ff9462fe26e68be8ca6097b
parentf98c408ee4e2f655e009e2499a02aeb2cc2fa905
talloc: remove const warning in _info example.

Compiler:
/home/rusty/devel/cvs/ccan/ccan/talloc/_info: In function ‘main’:
/home/rusty/devel/cvs/ccan/ccan/talloc/_info:84:9: warning: passing argument 2 of ‘open_output_cmd’ discards ‘const’ qualifier from pointer target type [enabled by default]
/home/rusty/devel/cvs/ccan/ccan/talloc/_info:52:24: note: expected ‘char *’ but argument is of type ‘const char *’

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/talloc/_info
ccan/tcon/test/compile_fail-tcon_cast.c