tdb: fix warnings with gcc -O3, and one test crash.
[ccan] / licenses /
2010-10-21 Rusty Russelllicense: more changing of licence -> license.