$OpenBSD: patch-FeLib_Source_bitmap_cpp,v 1.2 2010/05/23 15:58:02 espie Exp $ --- FeLib/Source/bitmap.cpp.orig Tue Oct 26 21:35:47 2004 +++ FeLib/Source/bitmap.cpp Sat May 22 07:28:38 2010 @@ -2047,10 +2047,10 @@ void cachedfont::PrintCharacter(const blitdata B) cons for(; SrcLine != EndLine; ++SrcLine, ++SrcMaskLine, ++DestLine) { - const ulong* FontPtr = reinterpret_cast(*SrcLine + B.Src.X); - const ulong* EndPtr = FontPtr + 5; - const ulong* MaskPtr = reinterpret_cast(*SrcMaskLine + B.Src.X); - ulong* DestPtr = reinterpret_cast(*DestLine + B.Dest.X); + const uint32_t* FontPtr = reinterpret_cast(*SrcLine + B.Src.X); + const uint32_t* EndPtr = FontPtr + 5; + const uint32_t* MaskPtr = reinterpret_cast(*SrcMaskLine + B.Src.X); + uint32_t* DestPtr = reinterpret_cast(*DestLine + B.Dest.X); for(; FontPtr != EndPtr; ++DestPtr, ++MaskPtr, ++FontPtr) *DestPtr = *DestPtr & *MaskPtr | *FontPtr;