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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Matthew Luckie
Päiväys:  
Vastaanottaja: exim-users
Kopio: mjl
Aihe: [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