Summary: | xorg-server log reports wrong resource ranges on 32Bit systems | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Peter Breitenlohner <peb> | ||||
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | peb | ||||
Version: | 7.4 (2008.09) | Keywords: | patch | ||||
Hardware: | x86 (IA32) | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Peter Breitenlohner
2008-10-24 04:49:57 UTC
Thanks for the patch. I applied most of the changes to git master in commit 16b11cd03d8c5def07f0e598f237f71a37883a46 Only did not apply the warnings about format int but argument type is CARD32, as those should be printed only when debugging the code. The warning comes of ''typedef unsigned long CARD32'', that is conditional, and only on 64 bits architectures it will be correctly defined as ''typedef unsigned int CARD32''. (In reply to comment #1) > Thanks for the patch. I applied most > of the changes to git master in commit > 16b11cd03d8c5def07f0e598f237f71a37883a46 > > Only did not apply the warnings about > format int but argument type is CARD32, > as those should be printed only when > debugging the code. The warning comes > of ''typedef unsigned long CARD32'', that > is conditional, and only on 64 bits > architectures it will be correctly defined > as ''typedef unsigned int CARD32''. > Isn't it about time to change that as well on 32 bits, thereby getting rid of zillions of warnings (in case warnings are enabled)? I don't think any Xorg program still compiles on systems where int is 16 bits. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.