[Exim] dsearch.c:52, cast from void * to int

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Matthew Luckie
Fecha:  
A: exim-users
Cc: mjl
Asunto: [Exim] dsearch.c:52, cast from void * to int
on the FreeBSD/alpha platform, I get the following compile
warning

gcc -c -O -pipe -mcpu=ev4 -I/usr/local/include    dsearch.c


dsearch.c: In function `dsearch_check':

dsearch.c:52: warning: cast from pointer to integer of
different size


my suggestion is to pass -1 instead of the handle. as far
as i can tell, NULL has already been taken care of before
the check, and open only returns NULL or -1, although this
is my first look at the exim code.

please cc: me on any replies.

Matthew