Re: scary warning about casts

2021-12-02 Thread Riccardo Mottola
Hi, Gregory Casamento wrote: Given that the cast is implicit this is left up to the compiler to determine.  Luckily GCC and clang (our only supported compilers) do this in the way we expect.  I suggest that we do a little better and do the conversion in a more predictable way so that we don't

Re: scary warning about casts

2021-12-02 Thread Gregory Casamento
Given that the cast is implicit this is left up to the compiler to determine. Luckily GCC and clang (our only supported compilers) do this in the way we expect. I suggest that we do a little better and do the conversion in a more predictable way so that we don't depend on undefined and/or compile