pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/50862: pkgsrc/emulators/xnp2 compile failed: invalid cast from type 'int' to type '__intptr_t {aka long int}'



The following reply was made to PR pkg/50862; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/50862: pkgsrc/emulators/xnp2 compile failed:  invalid cast
 from type 'int' to type '__intptr_t {aka long int}'
Date: Sat, 27 Feb 2016 19:15:09 +0100

 On Sat, Feb 27, 2016 at 02:25:00PM +0000, jun%soum.co.jp@localhost wrote:
 > use static_cast instead reinterpret_cast.
 
 Why not use plain 0, i.e. why cast at all?
 
 Joerg
 


Home | Main Index | Thread Index | Old Index