On Sat, Jun 22, 2019 at 09:42:36AM +0200, Vincent Lefevre wrote: > p->init = (unsigned long) safe_strdup (* ((char **) p->data)); > > IMHO, the best solution for safety would be to use a union (I think > that this would require the use of C99 designators for the MuttVars > initialization). Otherwise check (uintptr_t) -1 <= (unsigned long) -1 > in configure. > it's easier to just use !! or put != NULL at the end instead of the cast.
- potentially incorrect conversion of pointer to unsigned... Vincent Lefevre
- Re: potentially incorrect conversion of pointer to... Oswald Buddenhagen
- Re: potentially incorrect conversion of pointe... Vincent Lefevre
- Re: potentially incorrect conversion of po... Cameron Simpson
- Re: potentially incorrect conversion o... Cameron Simpson
- Re: potentially incorrect conversion o... Vincent Lefevre
- Re: potentially incorrect convers... Cameron Simpson
- Re: potentially incorrect conversion of pointer to... Kevin J. McCarthy
- Re: potentially incorrect conversion of pointe... Kevin J. McCarthy