Bug#886375: klystrack: FTBFS (32-bit): error: cast to pointer from integer of different size

Aaron M. Ucko ucko at debian.org
Fri Jan 5 02:54:33 UTC 2018


Source: klystrack
Version: 0.20171212-1
Severity: important
Tags: upstream
Justification: fails to build from source

Builds of klystrack for most 32-bit architectures (with the notable
exception of *i386, which I presume it special-cases) have been
failing with

  ../klystron/src/macros.h:97:21: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
   #define MAKEPTR(x) ((void*)(Uint64)(x))

in multiple contexts.

Could you please take a look?  I'd suggest using uintptr_t for an
unsigned integral type that's the same width as a pointer.

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the pkg-multimedia-maintainers mailing list