[Scummvm-git-logs] scummvm master -> eed26db50d3661364b8c54cb614970c7686c93fd
phcoder
noreply at scummvm.org
Thu Jan 19 09:32:36 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
eed26db50d GRAPHICS: Fix riscos compilation with an explicit cast
Commit: eed26db50d3661364b8c54cb614970c7686c93fd
https://github.com/scummvm/scummvm/commit/eed26db50d3661364b8c54cb614970c7686c93fd
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2023-01-19T10:32:26+01:00
Commit Message:
GRAPHICS: Fix riscos compilation with an explicit cast
Changed paths:
graphics/colormasks.h
diff --git a/graphics/colormasks.h b/graphics/colormasks.h
index 68a8b3fd7e1..52b4797b715 100644
--- a/graphics/colormasks.h
+++ b/graphics/colormasks.h
@@ -314,9 +314,9 @@ struct ColorMasks<-8888> {
kLow4Bits = (15 << kRedShift) | (15 << kGreenShift) | (15 << kBlueShift) | (15 << kAlphaShift),
kLowBitsMask = kLowBits,
- kHighBitsMask = ~kLowBits,
+ kHighBitsMask = (uint) ~kLowBits,
qlowBits = kLow2Bits,
- qhighBits = ~kLow2Bits
+ qhighBits = (uint) ~kLow2Bits
};
typedef uint32 PixelType;
More information about the Scummvm-git-logs
mailing list