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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Matthew Luckie
Ημερομηνία:  
Προς: exim-users
Υ/ο: mjl
Αντικείμενο: [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