Bug#361718: FTBFS with GCC 4.2: cast from pointer to integer of different size
Martin Michlmayr <email@example.com> writes:
> Package: dancer-ircd
> Version: 1.0.36-5
> Your package fails to build with GCC 4.2. Version 4.2 has not been
> released yet but I'm building with a snapshot in order to find errors
> and give people an advance warning. The bug below is in your package
> and not because I'm using a snapshot of the compiler so please take a
> look at it. You can reproduce this with the gcc-snapshot package.
Unfortunately, I can't seem to find a 64-bit machine with gcc-snapshot.
Does the attached patch work for you?
@@ -230,7 +230,7 @@
sendto_one(sptr, Lformat, me.name,
- (IsUpper(stat)) ?
+ (IsUpper(statcmd)) ?
get_client_name(acptr, TRUE) :