[Dovecot] typo in failures.c

Anders mail at flac.kalibalik.dk
Sat Jun 7 19:15:48 EEST 2008


Kenneth Porter wrote:
> Wow, that surprised me that it lacked that, as I'm so used to it on 
> Windows. But I mostly code in C++ there, so perhaps the conversion in C is 
> legal?
>   

Yes, implicit int->enum conversion is allowed in C, but not C++. (TC++PL 
p. 817)

(And implicit cast from void* to any other pointer type is not allowed 
in C++, either)


Anders.



More information about the dovecot mailing list