On Thu, May 31, 2012 at 05:53:16PM +0000, Krystian Garbaciak wrote: > However, on next patch I need to pass *val for reading and writing to > the same function. I will put casting there and comment it. No, let's do something type safe for this.