develooper Front page | perl.perl5.porters | Postings from November 2000

Re: [ID 20001114.003] Solaris 8, 64 Bit DB_file patch

Thread Previous
From:
Jarkko Hietaniemi
Date:
November 14, 2000 18:55
Subject:
Re: [ID 20001114.003] Solaris 8, 64 Bit DB_file patch
Message ID:
20001114205549.B28162@chaos.wustl.edu
> BerkeleyDB 3.1.17 defines the hash_cb as
>     hash_cb(const void *data, u_int32_t size)
> 
> while perl-5.7.0 defines it as
>     hash_cb(const void *data, size_t size)
> 
> In a 64bit environment, u_int32_t is a 32 bit value and a 
> size_t is a 64 bit unsigned long value. This results in
> compiler warnings.
> 
> The attached patch fixes it.

Applied, thanks.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About