Bug 15043 - xorg/driver/xf86-video-rendition - Compile warning fixes
Summary: xorg/driver/xf86-video-rendition - Compile warning fixes
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/rendition (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Keywords: janitor, patch
Depends on:
Reported: 2008-03-15 17:49 UTC by Paulo César Pereira de Andrade
Modified: 2008-07-22 16:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

0001-Compile-warning-fixes.patch (1.50 KB, patch)
2008-03-15 17:49 UTC, Paulo César Pereira de Andrade
no flags Details | Splinter Review

Description Paulo César Pereira de Andrade 2008-03-15 17:49:46 UTC
Created attachment 15162 [details] [review]

Cast pciaddr_t to unsigned long "printf" argument.
  Include <unistd.h> for open, read, close, lseek and usleep prototypes.
Comment 1 Paulo César Pereira de Andrade 2008-07-22 16:10:09 UTC
  Again, probably only a problem if using strict c99, as
it could literally pass long long to printf arguments
expecting long, but I suspect gcc will notice it and do
"the right thing" (only a problem in 32 bit arches).

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.