diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xmlpatterns/api/qcoloroutput_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlpatterns/api/qcoloroutput_p.h b/src/xmlpatterns/api/qcoloroutput_p.h index 01614da..bd2d5a5 100644 --- a/src/xmlpatterns/api/qcoloroutput_p.h +++ b/src/xmlpatterns/api/qcoloroutput_p.h @@ -70,8 +70,8 @@ namespace QPatternist ForegroundShift = 10, BackgroundShift = 20, SpecialShift = 20, - ForegroundMask = ((1 << ForegroundShift) - 1) << ForegroundShift, - BackgroundMask = ((1 << (sizeof(int) - BackgroundShift)) - 1) << BackgroundShift + ForegroundMask = 0xffc00, + BackgroundMask = 0xfff00000 }; public: |