[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#4015) bdb/cache.c pointer/integer size mismatch



Full_Name: Kurt Zeilenga
Version: HEAD
OS: SuSE Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (24.205.218.53)
Submitted by: kurt


The following warnings are reported on Linux for powerpc64.

/bin/sh ../../..//libtool --tag=disable-shared --mode=compile cc -m64
-I../../../include        -I../../../include -I.. -I./..  -I/usr/local/include
-I/usr/local/BerkeleyDB.4.2/include -I/usr/pkg/include    -c cache.c
 cc -m64 -I../../../include -I../../../include -I.. -I./.. -I/usr/local/include
-I/usr/local/BerkeleyDB.4.2/include -I/usr/pkg/include -c cache.c -o cache.o
cache.c: In function `bdb_locker_id_free':
cache.c:1360: warning: cast from pointer to integer of different size
cache.c: In function `bdb_locker_id':
cache.c:1408: warning: cast to pointer from integer of different size
cache.c:1418: warning: cast from pointer to integer of different size

It is not clear to me whether is benign or not, but regardless, the
warning should be silenced.