tdb2: fix warnings with -Wcast-qual using ccan/cast.
[ccan] / junkcode / mansourmoufid@gmail.com-endianness /
2010-09-02 Rusty Russelljunkcode: new addition.