On 17.11.2018 23:16, Branko Čibej wrote: > .../atomic/unix/builtins.c:71:53: warning: passing 'const void *' to > parameter of type 'void *' discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers] > return (void*) __sync_val_compare_and_swap(mem, cmp, with);
I think the prototype for apr_atomic_casptr is just wrong; it should be void* apr_atomic_casptr(void *volatile *, void *, void *); not void* apr_atomic_casptr(void *volatile *, void *, const void *); Thoughts? Can we fix this in 2.x? -- Brane