--- quadra-1.1.8/skelton/common/net.cpp 2004-11-01 05:12:11.097347848 -0100 +++ quadra-1.1.8-fix/skelton/common/net.cpp 2004-11-01 05:15:13.875561336 -0100 @@ -41,7 +41,7 @@ #include #include #include -typedef size_t addr_size_t; +typedef socklen_t addr_size_t; inline int closesocket(int fd) { return close(fd); } --- quadra-1.1.8/skelton/svgalib/video_x11_24.cpp 2001-10-11 19:35:14.000000000 -0100 +++ quadra-1.1.8-fix/skelton/svgalib/video_x11_24.cpp 2004-11-01 20:03:16.513369160 -0100 @@ -63,7 +63,12 @@ }; #pragma pack() +#ifdef _LP64 + unsigned int* buf32; +#else unsigned long* buf32; +#endif + Pixel3* buf24; int x, y; @@ -82,7 +87,11 @@ ((PixelValue*)(&colors[vfb[(y * width) +x]]))->pixel; } else { /* Conversion of the 8 bpp buffer to a 32 bpp buffer. */ +#ifdef _LP64 + buf32 = (unsigned int*) image->data; +#else buf32 = (unsigned long*) image->data; +#endif for(y = 0; y < 480; y++) for(x = min_x[y]; x <= max_x[y]; x++) buf32[(y * width) + x] =