cast: fix compilation with GCC's -Wcast-qual
[ccan] / junkcode / mansourmoufid@gmail.com-endianness /
2010-09-02 Rusty Russelljunkcode: new addition.