Hello there, dovecot-2.2.33/src/lib/str-find.c:86]: (warning) Calling 'sizeof' on 'sizeof' Source code is ctx = p_malloc(pool, MALLOC_ADD(sizeof(struct str_find_context), MALLOC_MULTIPLY(sizeof(ctx->goodtab[0]), key_len))); Regards David Binderman
On 11.10.2017 09:53, David Binderman wrote:> Hello there, > > dovecot-2.2.33/src/lib/str-find.c:86]: (warning) Calling 'sizeof' on 'sizeof' > > Source code is > > ctx = p_malloc(pool, MALLOC_ADD(sizeof(struct str_find_context), > MALLOC_MULTIPLY(sizeof(ctx->goodtab[0]), key_len))); > > Regards > > David BindermanHi! Thank you for this report, what compiler are you using? Aki