Package: asc Severity: normal Tags: patch When building 'asc' on amd64 with gcc-4.0, I get the following error:
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/SDL -D_REENTRANT -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -g -O2 -Wno-sign-compare -funsigned-char -D_UNIX_ -D_SDL_ -c graphics.cpp -MT graphics.lo -MD -MP -MF .deps/graphics.TPlo -o graphics.o graphics.cpp: In function 'void initASCGraphicSubsystem(SDL_Surface*, SDLmm::Surface*)': graphics.cpp:87: error: cast from 'void*' to 'PointerSizedInt' loses precision make[4]: *** [graphics.lo] Error 1 make[4]: Leaving directory `/asc-1.15.3.0/source/sdl' With the attached patch 'asc' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/asc-1.15.3.0/source/unix/global_os.h ./source/unix/global_os.h --- ../tmp-orig/asc-1.15.3.0/source/unix/global_os.h 2004-12-16 11:27:22.000000000 +0100 +++ ./source/unix/global_os.h 2005-03-01 15:23:49.773604621 +0100 @@ -67,7 +67,7 @@ #define StaticClassVariable - typedef unsigned int PointerSizedInt; + typedef unsigned long PointerSizedInt; #ifdef __cplusplus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

