pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/52248: xrolodex core dumps on amd64 (64 bit) machines
The following reply was made to PR pkg/52248; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/52248: xrolodex core dumps on amd64 (64 bit) machines
Date: Sun, 29 Apr 2018 03:58:13 +0000
On Sat, May 20, 2017 at 08:05:00PM +0000, mlr%rse.com@localhost wrote:
> it does not, however, get rid of these confusions:
>
> xrolo.c: In function 'FileSelectionOK':
> xrolo.c:1035:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> if ((int) client_data == xrolo_OPEN)
> ^
These are probably ok; it's passing integer codes through a
"client_data" argument, which is a pointer.
One can silence the warnings by using intptr_t instead of int, but
it's probably not worth bothering.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index