Wrong XcmsTekHVCFormat to XcmsRGBFromat color conversion on 32 bit systems
Submitted by Dimitri Sokolyuk
Assigned to Xorg Project Team
Description
Created attachment 105512 Test application and results for 32 and 64 bit systems
Conversion from XcmsTekHVCFormat into XcmsRGBFromat gives on 32 bit systems wrong results for upper half of Hue values (over ca. 148.0). Results in lover half are tinted too. 64 bit systems are not affected.
Simple test application is included along with results for 32 bit system (wrong results) and for 64 bit system (expected results).
Tested on 32/64bit OpenBSD 5.5/5.6, OS X 10.9 (XQuartz) and various 32/64bit Linux systems. Bug appears at least (but is not limited to) on Xorg versions 1.14.5 to 1.15.2.
See also discussion on bug hunting: https://www.linux.org.ru/forum/development/10810167 (russian)
Attachment 105512, "Test application and results for 32 and 64 bit systems":
XcmsTekHVC-bug.tgz