Sure the comment above is sufficiently explanatory anyway. Whatever suits you best.
Regards. On Fri, 1 Jun 2018 at 12:38, Olivier Houchard <ohouch...@haproxy.com> wrote: > Hi David, > > On Fri, Jun 01, 2018 at 12:27:15PM +0000, David CARLIER wrote: > > Hi, > > > > Here a little proposal to fix a compilation warning. > > > > Hope it s useful. > > > > Kind regards. > > Oops, I should always test with multiple compilers, for some reason gcc > didn't warn about that, but clang certainly does. > Instead of using a static variable, I think merely adding a cast is better, > as attached. What do you think ? > > Regards, > > Olivier >