On Sat, Jan 29, 2011 at 06:37:44PM +0100, Kornel wrote: > Am Samstag, 29. Januar 2011 schrieb Enrico Forestieri: > > > > Yes, the cast isn't nice. Does attached patch also fix the problem? > > > > If yes, I think you could commit it. > > > > Please, don't. It breaks compilation if size_t is typedef'd to unsigned > > int. > > > > > Yes, it compiles now. > > > > Kornel, does it compile using the attached patch? > > Yes, this compiles too. Sorry for the delay, was outside.
Thanks Kornel. Please, could you also try the other template-based patch I just posted? -- Enrico